inode table location ??


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users inode table location ??
# 8  
Old 09-17-2007
Error

Quote:
Originally Posted by Perderabo
The only program I know that can do that is lsof which is a public domain utility. I'm not sure where to get a copy for AIX though. Once you have lsof, you can use:
lsof -p 569506
Hey,

I want to ask a simple Question....

How would I be able to come to know that files/directoires in a Parent directory has been accessed (means contents of the file has been just viewed) by the user(s) in a group ? and mail the name(s) of those files/directories which has been accessed recently in past 1 or 2 minutes with the name of the user who viewed the files/direcotries.

Please answer this QUESTION asap as I am after this problem for past 15 days and I did't get any perfect answer.

Please Help !!Smilie
Thanks !!
# 9  
Old 09-17-2007
Well, as for your first question, I'm not surprised that you don't have lsof, it is not standard. I do not know of a version for AIX.

As for your 2nd question, Unix does not maintain a list of users who accessed stuff. You can tell that that some process accessed a file because atime will generally change. See my article, mtime, ctime, and atime for more info on that.

Maybe you can consider another OS. HP-UX can be converted into a trusted system and then full auditing can be turned on. Auditing records every system call. This requires a lot of disk space and is a heavy performance hit. But you can then inspect the logs to see who accessed which file. I believe that Solaris has something similiar, but I have not used it. And you can get lsof for both Solaris and HP-UX from the freeware sites. There may be auditing features available for AIX and there may be some way to get lsof for AIX, but I don't know AIX very well. Maybe some AIX expert can add some more info.
# 10  
Old 09-18-2007
CPU & Memory

Quote:
Originally Posted by Perderabo
Well, as for your first question, I'm not surprised that you don't have lsof, it is not standard. I do not know of a version for AIX.

As for your 2nd question, Unix does not maintain a list of users who accessed stuff. You can tell that that some process accessed a file because atime will generally change. See my article, mtime, ctime, and atime for more info on that.

Maybe you can consider another OS. HP-UX can be converted into a trusted system and then full auditing can be turned on. Auditing records every system call. This requires a lot of disk space and is a heavy performance hit. But you can then inspect the logs to see who accessed which file. I believe that Solaris has something similiar, but I have not used it. And you can get lsof for both Solaris and HP-UX from the freeware sites. There may be auditing features available for AIX and there may be some way to get lsof for AIX, but I don't know AIX very well. Maybe some AIX expert can add some more info.

Hey Thanks buddy and Please let me know once you'll find out the solution to this problem !! I'll try to look into "lsof" .
I have seen your article already, thats fine !!
Smilie

Last edited by varungupta; 09-18-2007 at 03:19 AM..
# 11  
Old 09-18-2007
See this link: IBM AIX Toolbox Download Page - Alphabetical Listing

Maybe you can get lsof there.
# 12  
Old 09-18-2007
MySQL

Quote:
Originally Posted by Perderabo
See this link: IBM AIX Toolbox Download Page - Alphabetical Listing

Maybe you can get lsof there.
Thanks a lot buddy !!Smilie
Keep looking, if you'll get some clue anyways !!

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with copying the list of files from one location to other location

A) I would like to achive following actions using shell script. can someone help me with writing the shell script 1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies

2. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies

3. Shell Programming and Scripting

How to copy a file from one location to another location?

I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt. Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies

4. Shell Programming and Scripting

File created in a different location instead of desired location on using crontab

Hi, I am logging to a linux server through a user "user1" in /home directory. There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory. When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies

5. Solaris

inode table in sun solaris

Hi, I would like to is it possible to repair inode table in solaris without running fsck? I am facing this issue in root file system, because to run fsck I have to bring system in single user mode with booting cdrom media. I facing strange issue in /var/adm/messages it is showing inode table... (12 Replies)
Discussion started by: manoj.solaris
12 Replies

6. Shell Programming and Scripting

Help on Moving files from one location to another location

Hi, I am new to unix and shell scripting. Please help me in resolving the below issue. In my shell script I have a variable which stores the different files with the path. Now I need to move all the files one by one to another location. ---- 1.... (4 Replies)
Discussion started by: kpagadala
4 Replies

7. Shell Programming and Scripting

Shell Script for Copy files from one location to another location

Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Discussion started by: allways4u21
2 Replies

8. Shell Programming and Scripting

Put one string from one location to another location in a file

Hi Everyone, I have 1.txt here a b c' funny"yes"; d e The finally output is: here a b c d e' funny"yes"; (1 Reply)
Discussion started by: jimmy_y
1 Replies

9. Shell Programming and Scripting

Transfer files from one location to another location

Hi, i have to transfer of files of User1 located in Location1 to user2 located in Location2 using shell script. Please suggest me. (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies

10. UNIX for Advanced & Expert Users

copy files from one location to similar location

I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure, say location 1, /home/rick/tmp_files/1-12/00-25/ here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Discussion started by: pharos467
1 Replies
Login or Register to Ask a Question