Lsof
   HOME





Lsof
lsof is a command meaning "list open files", which is used in many Unix-like systems to report a list of all open files and the processes that opened them. This open source utility was developed and supported by Victor A. Abell, the retired Associate Director of the Purdue University Computing Center. It works in and supports several Unix flavors. A replacement for Linux, , is included in util-linux. History In 1985, Cliff Spencer publishes the command. Its man page says: "ofiles – who has a file open ..displays the owner and id of any process accessing a specified device". Spencer compiled it for 4.2BSD and ULTRIX. Moreover, in the newsgroup net.unix-wizards, he further remarks: With all the chatter about dismounting active file systems, I have posted my program to indicate who is using a particular filesystem, "ofiles" to net.sources. In 1988, the command ("file status") appears as part of the 4.3BSD-Tahoe release. Its man page says: ''fstat'' identifies open files ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Netstat
In computing, netstat is a command-line network utility that displays open network sockets, routing tables, and a number of network interface (network interface controller or software-defined network interface) and network protocol statistics. It is available on Unix, Plan 9, Inferno, and Unix-like operating systems including macOS, Linux, Solaris and BSD. It is also available on IBM OS/2 and on Microsoft Windows NT-based operating systems including Windows XP, Windows Vista, Windows 7, Windows 8 and Windows 10. It is used for finding problems in the network and to determine the amount of traffic on the network as a performance measurement. On Linux this program is mostly obsolete, although still included in many distributions. On Linux, netstat (part of "net-tools") is superseded by ss (part of iproute2). The replacement for netstat -r is ip route, the replacement for netstat -i is ip -s link, and the replacement for netstat -g is ip maddr, all of which are recommen ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Strace
strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace. Some Unix-like systems provide other diagnostic tools similar to strace, such as truss. History Strace was originally written for SunOS by Paul Kranenburg in 1991, according to its copyright notice, and published early in 1992, in volume three of comp.sources.sun. The initial README file contained the following: is a system call tracer for Sun(tm) systems much like the Sun supplied program . is a useful utility to sort of debug programs for which no source is available which unfortunately includes almost all of the Sun supplied system software. Later, Branko Lankester ported this version to Linux, releasing his version in November 1992 with th ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Fuser (Unix)
The Unix command (computing), command fuser is used to show which process (computing), processes are using a specified computer file, file system, or Unix domain socket, Unix socket. Example For example, to check process IDs and users accessing a USB drive: $ fuser -m -u /mnt/usb1 /mnt/usb1: 1347c(root) 1348c(guido) 1349c(guido) The command displays the process identifiers (PIDs) of processes using the specified files or file systems. In the default display mode, each PID is followed by a letter denoting the type of access: ; c : current directory. ; e : executable being run. ; f : open file. ; F : open file for writing. ; r : root directory. ; m : mmap'ed file or shared library Only the PIDs are written to standard output. Additional information is written to standard error. This makes it easier to process the output with computer programs. The command can also be used to check what processes are using a network port: $ fuser -v -n tcp 80 USER ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Util-linux
is a package of utilities distributed by the Linux Kernel Organization for use in a Linux operating system. A fork, (with meaning "next generation"), was created when development stalled, but has been renamed back to , and is the official version of the package. Content The package includes the following utilities: Removed content Utilities formerly included, but removed : * arch * chkdupexe * clock * cytune * ddate * elvtune * fastboot * fasthalt * halt * initctl * ramsize * rdev * reboot * rootflags * shutdown Shutdown or shut down may refer to: * Government shutdowns * Shutdown (computing) * Shutdown (economics) * Shutdown (nuclear reactor) Arts and entertainment Music * "Shut Down" (The Beach Boys song), 1963 * '' Shut Down Volume 2'', a 1964 album ... * simpleinit * tailf * vidmode See also * * * * * Notes References External links The util-linux code repository.pub/linux/utils/util-linuxon Kernel.org util-linux development discussion and bug repor ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Linux
Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, packaged as a Linux distribution (distro), which includes the kernel and supporting system software and library (computing), libraries—most of which are provided by third parties—to create a complete operating system, designed as a clone of Unix and released under the copyleft GPL license. List of Linux distributions, Thousands of Linux distributions exist, many based directly or indirectly on other distributions; popular Linux distributions include Debian, Fedora Linux, Linux Mint, Arch Linux, and Ubuntu, while commercial distributions include Red Hat Enterprise Linux, SUSE Linux Enterprise, and ChromeOS. Linux distributions are frequently used in server platforms. Many Linux distributions use the word "Linux" in their name, but the Free ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  




SunOS
SunOS is a Unix-branded operating system developed by Sun Microsystems for their workstation and server computer systems from 1982 until the mid-1990s. The ''SunOS'' name is usually only used to refer to versions 1.0 to 4.1.4, which were based on BSD, while versions 5.0 and later are based on UNIX System V Release 4 and are marketed under the brand name '' Solaris''. History SunOS 1 only supported the Sun-2 series systems, including Sun-1 systems upgraded with Sun-2 ( 68010) CPU boards. SunOS 2 supported Sun-2 and Sun-3 ( 68020) series systems. SunOS 4 supported Sun-2 (until release 4.0.3), Sun-3 (until 4.1.1), Sun386i (4.0, 4.0.1 and 4.0.2 only) and Sun-4 ( SPARC) architectures. Although SunOS 4 was intended to be the first release to fully support Sun's new SPARC processor, there was also a SunOS 3.2 release with preliminary support for Sun-4 systems. SunOS 4.1.2 introduced support for Sun's first sun4m-architecture multiprocessor machines (t ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Stat (Unix)
is a Unix system call that queries the file system for metadata about a computer file, file (including Unix file type, special files such as computer directory, directories). The metadata contains many fields including Unix file type, type, file size, size, ownership, File-system permissions, permissions and Unix time, timestamps. For example, the ls, command uses this system call to retrieve timestamps: * mtime: when last modified () * atime: when last accessed () * ctime: when last status changed () appeared in Research Unix#Versions, Version 1 Unix. It is among the few original Unix system calls to change, with Research Unix#Versions, Version 4's addition of group permissions and larger file size. Since at least 2004, the same-named shell (computing), shell command (computing), command stat has been available for Linux to expose features of the system call via a command-line interface. Functions The C POSIX library header , found on POSIX and other Unix-like operating ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Internet Socket
The Internet (or internet) is the global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a network of networks that consists of private, public, academic, business, and government networks of local to global scope, linked by a broad array of electronic, wireless, and optical networking technologies. The Internet carries a vast range of information resources and services, such as the interlinked hypertext documents and applications of the World Wide Web (WWW), electronic mail, internet telephony, streaming media and file sharing. The origins of the Internet date back to research that enabled the time-sharing of computer resources, the development of packet switching in the 1960s and the design of computer networks for data communication. The set of rules (communication protocols) to enable internetworking on the Internet arose from research and development commissioned in the 197 ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Sunos
SunOS is a Unix-branded operating system developed by Sun Microsystems for their workstation and server computer systems from 1982 until the mid-1990s. The ''SunOS'' name is usually only used to refer to versions 1.0 to 4.1.4, which were based on BSD, while versions 5.0 and later are based on UNIX System V Release 4 and are marketed under the brand name '' Solaris''. History SunOS 1 only supported the Sun-2 series systems, including Sun-1 systems upgraded with Sun-2 ( 68010) CPU boards. SunOS 2 supported Sun-2 and Sun-3 ( 68020) series systems. SunOS 4 supported Sun-2 (until release 4.0.3), Sun-3 (until 4.1.1), Sun386i (4.0, 4.0.1 and 4.0.2 only) and Sun-4 ( SPARC) architectures. Although SunOS 4 was intended to be the first release to fully support Sun's new SPARC processor, there was also a SunOS 3.2 release with preliminary support for Sun-4 systems. SunOS 4.1.2 introduced support for Sun's first sun4m-architecture multiprocessor machines (t ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Dynix
DYNIX (''DYNamic UnIX'') was a Unix-like operating system developed by Sequent Computer Systems, based on 4.2BSD and modified to run on Intel-based symmetric multiprocessor hardware. The third major (Dynix 3.0) version was released May, 1987; by 1992 DYNIX was succeeded by DYNIX/ptx, which was based on UNIX System V. IBM obtained rights to DYNIX/ptx in 1999, when it acquired Sequent for $810 million. IBM's subsequent Project Monterey was an attempt, circa 1999, "to unify AIX with Sequent's Dynix/ptx operating system and UnixWare." By 2001, however, "the explosion in popularity of Linux Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ... ... prompted IBM to quietly ditch" this. References Berkeley Software Distribution Discontinued operating systems X86 operating sy ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  




NeXTStep
NeXTSTEP is a discontinued object-oriented, multitasking operating system based on the Mach kernel and the UNIX-derived BSD. It was developed by NeXT, founded by Steve Jobs, in the late 1980s and early 1990s and was initially used for its range of proprietary workstation computers such as the NeXT Computer. It was later ported to several other computer architectures. Although relatively unsuccessful at the time, it attracted interest from computer scientists and researchers. It hosted the original development of the Electronic AppWrapper, the first commercial electronic software distribution catalog to collectively manage encryption and provide digital rights for application software and digital media, a forerunner of the modern " app store" concept. It is the platform on which Tim Berners-Lee created the first web browser, and on which id Software developed the video games '' Doom'' and '' Quake''. In 1996, Apple Computer acquired NeXT. Apple needed a successor to the ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]