• Post Reply Bookmark Topic Watch Topic
  • New Topic

What is Command for checking log of current running process?  RSS feed

 
Bk Jacky
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is Command for checking log of current running process?
 
Arka Guhathakurta
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure perhaps in RED HAT you can type ps -aux.
 
Tim Holloway
Saloon Keeper
Posts: 18789
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There isn't anything I could call a "log of current running process". Besides, Linux is a full-fledged multitasking OS, so there will be lots of "current running" processes during a given interval. Even more on a multi-core system where each CPU core can be running a process.

Log files for applications are defined by the applications themselves - providing the app in question even keeps a log. By convention, Linux expects that they'll be written in the /var/log directory.

If what you're really asking is how to watch what processes are running at the moment, you can get a static snapshot using the "ps" command, and a dynmaic display using the "top" command.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!