How to get the filepath and filenames in pfiles PID command?

Thread Tools Search this Thread
Operating Systems Solaris How to get the filepath and filenames in pfiles PID command?
# 1  
Old 01-21-2010
How to get the filepath and filenames in pfiles PID command?


When I use pfiles PID, it displays the below output and i just see the inode, can i able to get the full path and file name? pl help me on this.

Current rlimit: 8192 file descriptors
0: S_IFCHR mode:0620 dev:308,0 ino:12582968 uid:1001378434 gid:7 rdev:24,26

# 2  
Old 01-21-2010
You already have the full path: /devices/pseudo/pts@0:26
# 3  
Old 01-21-2010

I just tried,

file /devices/pseudo/tl@0:ticotsord
/devices/pseudo/tl@0:ticotsord: character special (105/1)

But is this really a file?
# 4  
Old 01-21-2010
Files under the /devices directory are representing real or virtual devices.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to find the corresponding command for a existing PID?

Hi All, A process completed already and I have the PID. I want to know the which command used for this PID. 'ps' command and '/proc' folder having the list current process only. Is there a way to search completed process PID? Thanks, Manimuthu (5 Replies)
Discussion started by: k_manimuthu
5 Replies

2. UNIX for Dummies Questions & Answers

pfiles command equivalent in Linux

May i know what is the equivalent tool in linux for pflies in solaris. ? (2 Replies)
Discussion started by: mohtashims
2 Replies

3. Solaris

significance of pfiles

What is the significance of pfiles? What is the use of it and how and where to use it?:wall: (2 Replies)
Discussion started by: varunksharma87
2 Replies

4. Shell Programming and Scripting

Get Pid from a command output

pariosd -status NodeName ID ROLE STATE PROTECTION --------------------------------------------------------------------------- tn320_scm10 10 ACTIVE UP No Protection tn320_scm11 11 UNKNOWN UNKNOWN LocalApps ... (5 Replies)
Discussion started by: hariprasad123
5 Replies

5. Shell Programming and Scripting

Script for pfiles command not working

Hi, I Have downloaded script for pfiles command, It is written to make it run on Linux, But I could not make out on which language it is written,kindly help me in executing this script:( link: (1 Reply)
Discussion started by: thehulkom
1 Replies

6. Solaris

feeding filenames to find command

Hi, I am having set of files whose names are stored in a file say "filelist.txt" Now, I want to find all files contained in "filelist.txt" from my parent directory. Is there any way to let find command understand "filelist.txt" just like we have option -f in awk. I donot want to run a... (4 Replies)
Discussion started by: sanjay1979
4 Replies

7. Red Hat

pfiles and pstack and ptree

Can someone tell me the Linux equivalent for pstack and pfiles and ptree which are Solaris commands. (1 Reply)
Discussion started by: bdsffl
1 Replies

8. UNIX for Dummies Questions & Answers

filenames from split command

Is there an option or a way with the split command to rename the partitioned files with a counter. For example, can the files testaa, testab, testac be renamed to test1, test2, test3 from the split command without explicilty renaming files. Thanks, - CB (3 Replies)
Discussion started by: ChicagoBlues
3 Replies

9. Shell Programming and Scripting

splitting up of absolute filepath

Hi, I am using the bash shell on suse.I need to split the absolute file path into filename and directory path. eg: /cas/43fg/temp/sample.txt i want to split the above into sample.txt(file) and /cas/43fg/temp(directory path) I want to do this by... (5 Replies)
Discussion started by: DILEEP410
5 Replies

10. UNIX for Dummies Questions & Answers

functionalities of PFILES

Hello every body. Do anyone describe to me functionalities of PFILES (2 Replies)
Discussion started by: hoang
2 Replies
Login or Register to Ask a Question

Featured Tech Videos