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 DEBIAN
yasm_parsers
YASM_PARSERS(7) Yasm Supported Parsers YASM_PARSERS(7)
NAME
yasm_parsers - Yasm Supported Parsers (Assembler Syntaxes)
SYNOPSIS
yasm -p parser [-r preproc] ...
DESCRIPTION
The standard Yasm distribution includes a number of modules for different parsers (assembler syntaxes).
The parser is selected on the yasm(1) command line by use of the -p parser command line option.
NASM PARSER
NASM syntax, selected with -p nasm, is the most full-featured syntax supported by Yasm. Yasm is nearly 100% compatible with NASM for 16-bit
and 32-bit x86 code. Yasm additionally supports 64-bit AMD64 code with Yasm extensions to the NASM syntax; see yasm_arch(7) for details.
NASM syntax is the Yasm default.
GAS PARSER
The GNU Assembler (GAS) is the de-facto cross-platform assembler for modern Unix systems, and is used as the backend for the GCC compiler.
Yasm's support for GAS syntax is moderately good, although immature: not all directives are supported, and only 32-bit x86 and AMD64
architectures are supported. There is also no support for the GAS preprocessor. Despite these limitations, Yasm's GAS syntax support is
good enough to handle essentially all x86 and AMD64 GCC compiler output. The GAS parser can be selected with -p gas.
SEE ALSO
yasm(1), yasm_arch(7)
AUTHOR
Peter Johnson <peter@tortall.net>
Author.
COPYRIGHT
Copyright (C) 2006 Peter Johnson
Yasm October 2006 YASM_PARSERS(7)