On Tue, Jan 18, 2011 at 6:14 PM, Ashish SHUKLA <ashish...@lostca.se> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Amit Sharma writes:
>> Hi,
>>
>> I am unable to understand the following entry in TOP. Is it normal or 
>> something that I need to do to get rid of it?
>>
>>
>> PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>> 16737 amit       25   0 65964 1196 1084 R 99.7  0.0   1745:46 bash
>
> The command is just the name of command, you'll probably need more detail
> (e.g. command-line, environment variables, etc.) to be able to precisely point
> out, what it's executing.
>
> For command-line:
>
> % cat /proc/$pid/cmdline |tr "\0" " "
>
> For environment:
>
> % cat /proc/$pid/environ |tr "\0" "\n"
>
> ps(1) can also provide this information, e.g. ps auxe

Or simply use "c" while running top to get the full command line.

>
> HTH
> - --
> Ashish SHUKLA
>

With regards,
-- 
--Dinesh Shah :-)
Shah Micro System Pvt. Ltd.
+91-98213-11906
+91-9833-TICKET
http://www.shahmicro.com
http://iopt.in
http://crm.iopt.in
Blog: http://dineshah.wordpress.com

_______________________________________________
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to