Need help on processes in particular filesystem


 
Thread Tools Search this Thread
Operating Systems AIX Need help on processes in particular filesystem
# 1  
Old 11-18-2013
Need help on processes in particular filesystem

Hi,

In my aix server i'm having file system called /dev/hd2 which is mounted on /usr.now what i need is the Processes which comes under this filesystem.Any command to find this

TIA
# 2  
Old 11-18-2013
Quote:
Originally Posted by sumanthupar
Any command to find this
Have a look at fusers man page.

I hope this helps.

bakunin
# 3  
Old 11-18-2013
fuser didn't worked for me..could you please provide any other command

TIA
# 4  
Old 11-18-2013
Configure Nmon,Run the nmon analyser

Then you will get detailed information process TOP tab
# 5  
Old 11-18-2013
Quote:
Originally Posted by sumanthupar
fuser didn't worked for me..could you please provide any other command

TIA
In which way did it "not work"? Error message? Error Code? Coredump? Carrier pidgeons?

Keep in mind, please, that i can't see what is on your screen. You have to tell me.

bakunin
# 6  
Old 11-18-2013
Code:
find /usr.now -xdev -exec fuser {} \;

Will show process with open files in that file system.
# 7  
Old 11-18-2013
Quote:
Originally Posted by blackrageous
Code:
find /usr.now -xdev -exec fuser {} \;

Will show process with open files in that file system.
This is true, but overly complicated: just specify

Code:
fuser -u /dev/mounted-device

where "/dev/mounted-device" is the device entry of the FSes device and get all the processes operating on that FS with PID and user.

Still, thread-opener states that "fuser doesn't work" and i am still waiting for an explanation in which way it doesn't work. I suppose that calling it from "find" won't change the way it doesn't work.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

2. Solaris

Solaris Filesystem vs. Windows FileSystem

Hi guys! Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both. I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys. Thanks! (4 Replies)
Discussion started by: arah
4 Replies

3. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

4. Shell Programming and Scripting

Finding the age of a unix process, killing old processes, killing zombie processes

I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time. Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies

5. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

6. Solaris

Identifying and grouping OS processes and APP processes

Hi Is there an easy way to identify and group currently running processes into OS processes and APP processes. Not all applications are installed as packages. Any free tools or scripts to do this? Many thanks. (2 Replies)
Discussion started by: wilsonee
2 Replies

7. UNIX for Advanced & Expert Users

Monitoring Processes - Killing hung processes

Is there a way to monitor certain processes and if they hang too long to kill them, but certain scripts which are expected to take a long time to let them go? Thank you Richard (4 Replies)
Discussion started by: ukndoit
4 Replies

8. UNIX for Dummies Questions & Answers

How to know about filesystem

HI Gurus, I would like to know how can i know the dates when the filesystem was added to the server. Thanks Shaan (3 Replies)
Discussion started by: shaan_dmp
3 Replies

9. UNIX for Dummies Questions & Answers

filesystem

hi, had a basic question. Inspite of deletion files from a filesystem(belonging to non-rootvg), the filesystem says 99% full. can someone suggest something? except reboot could someone tell me how to proceed? thanks (1 Reply)
Discussion started by: karthikosu
1 Replies

10. UNIX for Advanced & Expert Users

io by filesystem???

I'm cross-posting from the "Unix for Dummies Q&A" forum as I didn't get any response there. I'm wanting to drill down one level deeper from iostat. For example, for the following iostat output, I'd like to now understand the io for hdisk2 by filesystem: Disks: % tm_act Kbps tps Kb_read... (1 Reply)
Discussion started by: priceb
1 Replies
Login or Register to Ask a Question