In this chapter, we look at ways of retrieving and modifying a variety of system information. The primary focus of the chapter is a discussion of the /proc file system. We also describe the uname() system call, which is used to retrieve various system identifiers.
12 System and Process Information
12.1 The /proc File System
12.1.1 Obtaining Information about a Process: /proc/PID
12.1.2 System Information under /proc
12.1.3 Accessing /proc Files
12.2 System Identification: uname()
12.3 Summary
12.4 Exercises
2009-08-05
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment