Re: [Bigsister-general] Can't monitor the specified process name
Brought to you by:
aeby
From: Thomas A. <ae...@gr...> - 2004-11-23 09:00:31
|
On Tue, 2004-11-23 at 09:44, Linda wrote: > I tried to modified the following line in > /usr/local/bs/uxmon/Requester/procs.pm so it can detect the full name. There is an easier way to get to this, use something like localhost proc=whatever pscomm="/usr/bin/ps -ef" procs in uxmon-net. > but it still only see 16 characters. How can I modified BigSister to let it > detect the full name? The procs module won't limit the process name, so I cannot tell you why procs would only see 16 characters. Important to know is that procs does some processing of the ps output: - it strips of anything after a space - it strips of leading path information so, e.g. [...] root 328 1 0 Oct 06 ? 0:00 /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf [...] is seen as "snmpdx". Best regards, Tom -------------------------------------------------------------------- Thomas Aeby, Kirchweg 52, 1735 Giffers, Switzerland, ae...@gr... Voice:(+41)26 4180040 PGP public key available -------------------------------------------------------------------- |