Can nmon be customized?

Hi, my name is Steve Ngai from Malaysia. This is my first post. Hope to learn more about Unix from this forum.

My first question is can nmon be customized? When I run nmon, I need to manually type c to see CPU usage, then m for memory usage. Can I pass it some nmon option to automatically see CPU usage and memory usage from one unix command?

I tried to google it but couldn't find what I need. :slight_smile:

What's nmon? My system doesn't have it.

But whatever system you are using may have a man page for it. Try this command:

man nmon

It may tell you command-line arguments or switches that will do what you want.

Hi thanks for the reply. Nmon is a free tool to analyze AIX and Linux performance like "topas". I can't "man nmon" but once a load nmon, I can type "h" to see some options, but I still can't get what I want there.

---------- Post updated at 11:44 AM ---------- Previous update was at 10:58 AM ----------

Hey guys, I found it already. The command is "export NMON=cmd", where c stands for CPU, m for memory and d for IO disk.