Current location - Education and Training Encyclopedia - Graduation thesis - Linux monitoring tool
Linux monitoring tool
How to write a graphical monitoring system in C language on linux system?

Under Linux, there are codeblocks and eclipse-cdt software for compiling C language graphical interface, and ddd, Kdbg and AffinicGUIDebugger are debuggers for graphical interface. But these graphical interface softwares are just a shell, and you still need to call the functions of gcc/gdb, which means that if you want to use these softwares, you need to install gcc and gdb in advance on your Linux system.

Can the cat command in linux dynamically monitor the file content?

No, this is just a static view of the contents of the file.

Linux debugging tool?

Gdb Debugging Tool: db is a powerful debugging tool based on command line, which is published by GNU open source organization under UNIX/LINUX operating system. For a c++ programmer working under Linux, Gdb is an indispensable tool.

Ldd View Program Dependency Library: used to view the * * * libraries needed for the program to run, and often used to solve some problems that the program cannot run due to the lack of library files.

Lsof everything is a file: lsof (list open files) is a tool to view the current system files. In the linux environment, everything exists in the form of files, through which you can access not only regular data, but also network connections and hardware. Such as transmission control protocol (TCP) and user datagram protocol (UDP) sockets, the system assigns a file descriptor to the application in the background, which provides a lot of information about the application itself.

Ps Process Viewer: To monitor a process, you must first know the current process, that is, you need to view the current process, and ps command is the most basic and very powerful process viewing command. Use this command to determine which processes are running and running status, whether these processes are completed, whether these processes are dead, which processes occupy too many resources, and so on. In short, most of the information can be obtained by executing this command.