LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   which file stores the process details (http://www.linuxquestions.org/questions/linux-newbie-8/which-file-stores-the-process-details-597199/)

babu198649 11-05-2007 03:53 AM

which file stores the process details
 
hi
where is the file located which stores the details about the users processes(ie. the program's which had been run) .is there any command that will show these details.

thank u

bosewicht 11-05-2007 04:03 AM

the help cmd for processes is :

ps --h

selva146 11-05-2007 04:13 AM

check the /proc filesystem

babu198649 11-05-2007 04:48 AM

thank u guys

i need to know the history of the users(the programs executed by the user)
which file does store all the details.

brianL 11-05-2007 06:18 AM

Not sure, but try:
/home/user/.bash_history

selva146 11-05-2007 01:41 PM

As brianL said,
under the home directory of the user you will find .bash_history file which stores all the commands executed in bash shell.

how many can be stored based on the setting in the environment variable HISTORY

check this by typing

env | grep HISTORY


All times are GMT -5. The time now is 03:41 AM.