LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 11-05-2007, 02:53 AM   #1
babu198649
Member
 
Registered: Oct 2007
Posts: 160

Rep: Reputation: 30
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
 
Old 11-05-2007, 03:03 AM   #2
bosewicht
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, 03:13 AM   #3
selva146
Member
 
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47

Rep: Reputation: 15
check the /proc filesystem
 
Old 11-05-2007, 03:48 AM   #4
babu198649
Member
 
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, 05:18 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,910
Blog Entries: 51

Rep: Reputation: Disabled
Not sure, but try:
/home/user/.bash_history
 
Old 11-05-2007, 12:41 PM   #6
selva146
Member
 
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
 
  


Reply


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 01:45 PM
which system file stores os details mili General 1 06-20-2005 03:15 AM
In which file does redhat-config-xfree86 stores its settings joeyBig Linux - General 2 09-21-2004 11:43 AM
is there a file where dnsmasq stores its cached dns? kublador Linux - Software 0 09-04-2004 07:01 AM
Getting a Process Details grub Programming 4 05-28-2003 04:02 AM


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

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