01-09-2007
i am using lsof... and opensource tool,
lsof - list open files
SYNOPSIS
lsof [ -?abChlnNOPRstUvVX ] [ -A A ] [ -c c ] [ +c c ] [
+|-d d ] [ +|-D D ] [ +|-f [cfgGn] ] [ -F [f] ] [ -g [s] ] [
-i [i] ] [ -k k ] [ +|-L [l] ] [ +|-m m ] [ +|-M ] [ -o [o]
] [ -p s ] [ +|-r [t] ] [ -S [t] ] [ -T [t] ] [ -u s ] [
+|-w ] [ -x [fl] ] [ -z [z] ] [ -- ] [names]
DESCRIPTION
Lsof revision 4.76 lists information about files opened by
processes for the following UNIX dialects:
AIX 5.[123]
Apple Darwin 7.x and 8.x for Power Macintosh systems
BSDI BSD/OS 4.3.1 for x86-based systems
FreeBSD 4.x, 4.1x, 5.x and [67].x for x86-based systems
FreeBSD 5.x and [67].x for Alpha, AMD64 and Sparc64-based
systems
HP-UX 11.00, 11.11 and 11.23
Linux 2.1.72 and above for x86-based systems
NetBSD 1.[456], 2.x and 3.x for Alpha, x86, and SPARC-based
systems
NEXTSTEP 3.[13] for NEXTSTEP architectures
OpenBSD 2.[89] and 3.[01234567] for x86-based systems
OPENSTEP 4.x
SCO OpenServer Release 5.0.6 for x86-based systems
SCO|Caldera UnixWare 7.1.4 for x86-based systems
Solaris 2.6, 8, 9 and 10
Tru64 UNIX 5.1
(See the DISTRIBUTION section of this manual page for infor-
mation on how to obtain the latest lsof revision.)
An open file may be a regular file, a directory, a block
special file, a character special file, an executing text
reference, a library, a stream or a network file (Internet
socket, NFS file or UNIX domain socket.) A specific file or
all the files in a file system may be selected by path.
regards pressy
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi!!
Is there any way to find the number of open files at any time on the server?? I am on HP -UX-11
:confused: (1 Reply)
Discussion started by: jyotipg
1 Replies
2. Solaris
I'm getting an error "too many files open"
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) unlimited
nofiles(descriptors) 256
memory(kbytes) unlimited
#
hard limit shows 1024
I would like to know how many files... (1 Reply)
Discussion started by: max_min
1 Replies
3. UNIX for Advanced & Expert Users
I am having a client/server application which will download files from server. If server has directories, it will create directories/sub directories and then download files. In this process, I observed that number of open files are more than 400 (which is approxmately same as number of dir/subdir... (1 Reply)
Discussion started by: satyam90
1 Replies
4. Cybersecurity
Hi,
I am trying to close all possible ports on my solaris and linux servers.
I am stuck on the following ports on both Solaris 10 (local zone) and Linux (Suse) servers.
Here is nmap output :
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
1720/tcp open H.323/Q.931... (6 Replies)
Discussion started by: manifesto
6 Replies
5. UNIX Desktop Questions & Answers
1)I need to write a script which ftps 3 files to a unix box,
2)once the files are ftped i need to check the number of rows in each file and compare it with the data (no of rows) coming in a manifest file, if the number of rows in each file matches the data coming in manifest file, then i need to... (3 Replies)
Discussion started by: imran_affu
3 Replies
6. Solaris
Our solaris are configured to send out email and i would like to know the number of emails sent out from the solaris server.
Anyone know can this be done?
Thanks (1 Reply)
Discussion started by: sirius20d
1 Replies
7. Shell Programming and Scripting
Hi,
I am new to unix scripting and am jus getting to learn about it..
I need to know on how to check for the existence of a number of files in a path..i.e the files are ftp'ed from several other servers, should check if all the files have arrived, if not wait till they arrive..can i use a flag... (5 Replies)
Discussion started by: yohasini
5 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
In a directory I have a lot of files created in history. However do I check the number of files that were created before a designated date?
Thanks (1 Reply)
Discussion started by: isaacniu
1 Replies
9. Solaris
How to check powerpaths in Solaris/Linux? and How to recover the failure powerpaths? :wall: (1 Reply)
Discussion started by: Naveen.6025
1 Replies
10. UNIX for Advanced & Expert Users
I have a machine which has 32 processor but i am really not sure how many threads are running. It has hyperthreading enabled. Is there a way i can find that all 32 processors are being used and how many threads are there in my linux box. Its a 64 bit processor. I am having very high load average... (3 Replies)
Discussion started by: Moon1234
3 Replies
LEARN ABOUT OPENSOLARIS
hci1394
hci1394(7D) Devices hci1394(7D)
NAME
hci1394 - 1394 OpenHCI host controller driver
SYNOPSIS
firewire@unit-address
DESCRIPTION
The hci1394 host controller driver is an IEEE 1394 compliant nexus driver that supports the 1394 Open Host Controller Interface Specifica-
tion 1.0, an industry standard developed by Sun, Apple, Compaq, Intel, Microsoft, National Semconductor, and Texas Instruments. The hci1394
driver supports asynchronous transfers, isochronous transfers, and bus reset management. The hci1394 driver also supports the nexus device
control interface.
FILES
/kernel/drv/sparcv9/hci1394
64-bit SPARC ELF kernel module
/kernel/drv/hci1394
32-bit x86 ELF kernel module
/kernel/drv/amd64/hci1394
64-bit x86 ELF kernel module
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+------------------------------+
|ATTRIBUTE TYPE |ATTRIBUTE VALUE |
+-----------------------------+------------------------------+
|Architecture |SPARC, x86, PCI-based systems |
+-----------------------------+------------------------------+
|Availability |SUNW1394x |
+-----------------------------+------------------------------+
|Interface Stability |Unstable |
+-----------------------------+------------------------------+
SEE ALSO
attributes(5), ieee1394(7D)
IEEE 1394 - IEEE Standard for a High Performance Serial Bus
1394 Open Host Controller Interface Specification 1.0
SunOS 5.11 30 August 2005 hci1394(7D)