Useful Unix Commands for Debugging with Examples
This is my list of commands, found useful while debugging issues in logs, servers process, etc., With regard to the list, will share the commands which I use in the real world scenarios..
- lsof - Used to get the list of "open files" in linux and all the processes that opened them. I find them useful to search / find the processes that are listening on a given Port.
This will give the Process ID, service name which listens on the port (8443) and much more.. Particularly useful to debug different services running on the same server.
- netstat
- find
- grep
- sed
- curl
- cut
- xargs
- for
- ssh/scp - Quickly copy an artifact or a log file from one node to another, without downloading to your host system?
What's your list..? comment them..
No comments:
Post a Comment
feedback?