Viewing process information in the pseudo-file system
Use the following procedures to view or search files from the /proc/ directory.
To view information about the files
- Open an SSH session to the server.
- Run the command:
support proc ls [dir=<directory>]
Where [dir=<directory>] is an optional parameter to specify the directory that you want to view the files from. For example:
support proc ls dir=config
To view a file
- Open an SSH session to the server.
- Do one of the following:
To view an entire file, run the command:
support proc cat file=<file>
Where <file> is the file name of the file that you want to view.
To view the last 10 lines of a file, run the following command:
support proc tail file=<file>
Where <file> is the file name of the file that you want to view.
To search a file
- Open an SSH session to the server.
- Run the following command:
support proc grep file=<file> pattern=<keyword>
Where <file> is the file name of the file that you want to search and <keyword> is the naming pattern that you want to search for. For example:
support proc grep file=spa.cfg pattern=address