-----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

HTH
- -- 
Ashish SHUKLA

“It has been said that a careful reading of Anna Karenina, if it
teaches you nothing else, will teach you how to make strawberry jam.”
(Julian Mitchell, "Radio Times", 30 October 1976)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iQIcBAEBCgAGBQJNNYtFAAoJEMdGz6nnT6SwQhUQAJn+zUc7s7fYMQiuMwGsVwbd
OKetAY6chUNEiuAIcLolKpVZpL0cpIoUFem+q6eAWLEXgzoJgd+UpTaYIan5xIyp
rJFqSweuV62r6xDwIH3n5evkowqOetppiJ8OcvbPOTUtZ2CH/RkPjQtRPfiDHqmA
Nn3IlTt65j0s9LXnv4Dvos8YzjTINhIdtiWdIJ6zQbtJlBTkxWNaFqAwnMjAqQWi
bKquIxilWohsRJ88NhJ8fFyfwxteTpnpqPduIf2v/PvyOwuReGrMN88kWIOLy5CE
MaZYBo27WfIg7ovP5bxSJ6dbaw22czLLF1GWWcg6b/ROBZon0kAbj9boE/EXBGLe
RfoKZcCvV2uDpit93+TddZhh/BdOIqmbJhQPSSiFdaqQzgRAiA7XoXQg0TSo23m3
4Osv/tgcC8+WLKtKvSANuY9e5vDYByNf7CAqNhYPHnhEorHCXm6/I/BwgSLsPP8k
U5aQNEVwZ8/SyOWe/QxuO3ahOBWlFKXVt7KqoqwwUsb9gHOhw05M9ukWK2tSuCQI
YoZH3eOb6ToaWhpnNN2n5rd/S9mUrJ3O8vmxd7T3i4wQLVDpdc33/pMFjN0T5dtF
ZTZqreI0eTlH18pDm+wr4A13mrmgFAaWikxfthSUfPz2icgPNejUENCfBEecGP2m
hxmhjiiZC6dp9P9w1XGt
=/3be
-----END PGP SIGNATURE-----

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

Reply via email to