I've looked at the sourcecode for lmon16b.c. It appears that nmon should be gathering the entire process table.
The nmon binary I have access to for CentOS 6 is v 14g. Hopefully the 'top' code hasn't changed significantly since then.
When I ran ‘nmon -f –T –d 1500 –s 60 –c 1’ it came up with only one process. There were over 300 processes running at the time.
I ran it again with a count of 20. It only had 40 processes in the CSV.
How is nmon supposed to be run in order to get the entire process table into the CSV?
We are looking at using nmon to ingest machine data into Splunk and absolutely require the entire process table be ingested at 1 minute intervals.
If nmon is the incorrect tool, please let me know.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK - after poring through the code and documentation I correlated what I need to do.
My full command line to get the entire process table is thus:
$ nmon_x86_64_centos6 -f –T –s 60 –c 5 -I -1
Passing '-I -1' tells nmon to stop ignoring anything.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've looked at the sourcecode for lmon16b.c. It appears that nmon should be gathering the entire process table.
The nmon binary I have access to for CentOS 6 is v 14g. Hopefully the 'top' code hasn't changed significantly since then.
When I ran ‘nmon -f –T –d 1500 –s 60 –c 1’ it came up with only one process. There were over 300 processes running at the time.
I ran it again with a count of 20. It only had 40 processes in the CSV.
How is nmon supposed to be run in order to get the entire process table into the CSV?
We are looking at using nmon to ingest machine data into Splunk and absolutely require the entire process table be ingested at 1 minute intervals.
If nmon is the incorrect tool, please let me know.
Thanks.
I downloaded the new 16d binary package and ran nmon_x86_64_centos6 with '-f –T –s 60 –c 1’ and once again it only came up with 1 process.
OK - after poring through the code and documentation I correlated what I need to do.
My full command line to get the entire process table is thus:
$ nmon_x86_64_centos6 -f –T –s 60 –c 5 -I -1
Passing '-I -1' tells nmon to stop ignoring anything.