Sponsored Content
Operating Systems Solaris Difference between fuser and lsof command Post 302779843 by achenle on Wednesday 13th of March 2013 11:59:30 AM
Old 03-13-2013
Fuser has been standard with Solaris for as long as I can remember. There's been kernel support in Solaris for it, too. Look in '/usr/include/sys/utssys.h', IIRC.
This User Gave Thanks to achenle For This Post:
 

10 More Discussions You Might Find Interesting

1. AIX

command lsof

hello Sorry but i don't understand very well the lsof command with the man. Can you explain to me what is the use of this command ? thank you (2 Replies)
Discussion started by: pascalbout
2 Replies

2. UNIX for Dummies Questions & Answers

require alternate command for lsof

Using lsof command i can find out which process-id is associated with the port. lsof -i :51000 . But as part of process i cant have lsof in the server. I am using sun solaris 8 and only kshell. Is there a way to find out which process is using the above port. as of now i am gettn port... (1 Reply)
Discussion started by: logic0
1 Replies

3. UNIX for Advanced & Expert Users

STDOUT redirect to a FILE, when fuser command is used !!

Hi all, I have the following script: ------------------------------------------------- #SCRIPT TO CHECK WHO HAS ACCESSED THE LOG/FILE IN PAST 'N' MINUTES, AND MAIL ACCORDINGLY. MYPATH="/clocal/mqbrkrs/user/mqsiadm/sanjay/" MAIL_RECIPIENTS="vg517@dcx.com" Subject="File accessed in last... (6 Replies)
Discussion started by: varungupta
6 Replies

4. Shell Programming and Scripting

help needed in fuser command

Hi all, I want to know if fuser command can be used to check if a file is being written or not??? Thanks In Advance Anju (1 Reply)
Discussion started by: anju
1 Replies

5. UNIX for Dummies Questions & Answers

fuser

Anyone ever use fuser, i tried this command fuser /database.bk but it only returns datbase.bk: I read some of the forums online, one of them said when he used fuser, it broke down the box, i really don't want that happen. I thought fuser is to see who is accessing that file, right? any... (8 Replies)
Discussion started by: adrianlearnpro
8 Replies

6. UNIX for Dummies Questions & Answers

fuser: difference with bin/sh and bin/ksh shell script

Hi, I have a problem I don't understand with fuser. I launch a simple shell script mysleep.sh: I launch the command fuser -fu mysleep.sh but fuser doesn't return anything excepted: mysleep: Then I modify my script switching from #!/bin/sh to #!/bin/ksh I launch the command fuser -fu... (4 Replies)
Discussion started by: Peuj
4 Replies

7. Shell Programming and Scripting

How to fetch PIDs from the fuser command output

All, I have to have my script wait for another script when it is being executed. I used fuser -f scriptname to get the PID of the script but when passed the PID to wait command, the command does not accept it as a PID. Below is the example: my.script1: fuser_result=`fuser -f my.script2`... (4 Replies)
Discussion started by: bharath.gct
4 Replies

8. AIX

Lsof command giving while loop

Hello, There is a process in AIX which is actually a oracle database user session but is running very slow When I use lsof it give below output lsof /proc/21955180 In while loop:256 In while loop:256 In while loop:256 In while loop:256 Value of I :183 np:1024 Please... (1 Reply)
Discussion started by: Vishal_dba
1 Replies

9. UNIX for Advanced & Expert Users

Fuser alternative OR running fuser on a script

Hi, Not sure whether there is a fuser alternative or any better way to check for file in use or not. I am wanting to check whether files are in use or not before removing them. Using fuser, the awk seems to be giving me 'weird' output not to mention that it is giving me 2 lines instead of... (0 Replies)
Discussion started by: newbie_01
0 Replies

10. Shell Programming and Scripting

Lsof command

Hi, I am trying to find the files in a specific directory that are currently in open state. I need this information to archive the old files that are not active in the directory. I get the following output when I try the command $ lsof +d '/var/tmp/'|awk '{print $9}'|sort -u NAME... (1 Reply)
Discussion started by: ryzen7
1 Replies
ibtl(7D)							      Devices								  ibtl(7D)

NAME
ibtl - Solaris InfiniBand Transport Layer DESCRIPTION
InfiniBand (IB) is an I/O technology based on switched fabrics. The Solaris InfiniBand Transport Layer (IBTL) is a Solaris kernel misc mod- ule and adheres to the IB Architecture Version 1.1 specification and provides a transport layer abstraction to IB client drivers. IBTL implements the programming interfaces for the Solaris InfiniBand Transport Framework (IBTF), consisting of the IB Channel Interface (CI) and the IB Transport Interface (TI). The CI consists of Host Channel Adapters (HCAs) and HCA drivers. A host is attached to the IB fabric through the CI layer. The Solaris InfiniBand CI is Sun's API rendering of the InfiniBand Architecture (IBTA) "verbs" specification. The Solaris InfiniBand TI is the kernel service driver interface into the Solaris InfiniBand Transport Framework. It provides transport and communications setup programming interfaces for Unreliable Datagram (UD) and Reliable Connected (RC) transport types only. FILES
/kernel/misc/ibtl 32-bit x86 ELF kernel misc module /kernel/misc/amd64/ibtl 64-bit x86 ELF kernel misc module /kernel/misc/sparcv9/ibtl 64-bit SPARC ELF kernel module ATTRIBUTES
See attributes(5) for a description of the following attribute: +-----------------------------+-----------------------------+ |ATTRIBUTE TYPE |ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Consolidation Private | +-----------------------------+-----------------------------+ |Availability |SUNWhea, SUNWib | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), ib(7D), ibcm(7D), ibdm(7D) InfiniBand Architecture Specification, Volume 1: Release 1.1 SunOS 5.10 9 Oct 2004 ibtl(7D)
All times are GMT -4. The time now is 09:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy