Configure an open-source security tool for the Solaris server (below)

Source: Internet
Author: User
Article Title: Configure an open-source security tool for the Solaris server (below ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Linux.chinaitlab.com/safe/737833.html "> the http://linux.chinaitlab.com/safe/737833.html configures open source security tools for Solaris servers (on)

4. Understand the proc file system

There is a/proc file system in the Solaris File System, and some huge files are put there. The/proc file system is not a common file system, it is an access interface to the address space of the running process. Through/proc, you can use standard Unix system calls (such as open (), read (), write (), ioctl (), and so on) to access the process address space. In fact, the Solaris ps (1) command uses/proc to get the process status.

The/proc tool is well-developed under Solaris and is located in the/usr/proc/bin directory. These tools provide a simple way to access critical data of any specified process. /Proc is attractive because it contains any information you may want to know about a process. /Proc is a directory that contains various files that reflect the kernel and process tree. These files and directories do not exist in the disk. Therefore, when you read and write these files, you actually get the relevant information from the operating system. For example:

Pldd-list dynamic databases connected by processes
Pstack-Call Stack
Pfiles-List of opened file descriptors
Ptree-process relationship tree
You can use the following command to view the port list
/Usr/proc/bin/pfiles? *?> /Tmp/pfiles. out
You can use the following command to view the process list

[1] [2] [3] [4] [5] Next page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.