LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 03: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, 04:03 AM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

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

ps --h
 
Old 11-05-2007, 04: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, 04: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, 06:18 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Not sure, but try:
/home/user/.bash_history
 
Old 11-05-2007, 01: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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration