Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-05-2007, 03:53 AM   #1
Registered: Oct 2007
Posts: 160

Rep: Reputation: 30
which file stores the process details

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
Old 11-05-2007, 04:03 AM   #2
Senior Member
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
the help cmd for processes is :

ps --h
Old 11-05-2007, 04:13 AM   #3
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47

Rep: Reputation: 15
check the /proc filesystem
Old 11-05-2007, 04:48 AM   #4
Registered: Oct 2007
Posts: 160

Original Poster
Rep: Reputation: 30
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.
Old 11-05-2007, 06:18 AM   #5
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Not sure, but try:
Old 11-05-2007, 01:41 PM   #6
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47

Rep: Reputation: 15
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Sarge: In which .conf file KDE Control stores the Sound configuration? gyaban05 Linux - Hardware 2 08-15-2006 02:45 PM
which system file stores os details mili General 1 06-20-2005 04:15 AM
In which file does redhat-config-xfree86 stores its settings joeyBig Linux - General 2 09-21-2004 12:43 PM
is there a file where dnsmasq stores its cached dns? kublador Linux - Software 0 09-04-2004 08:01 AM
Getting a Process Details grub Programming 4 05-28-2003 05:02 AM

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration