How to find what system calls are triggered by a command

Do you want to find what system calls are being called when you execute a command , then run the strace command as below

$strace -c /bin/ls

This command will list all the system calls made by "ls" command with cpu time spent on each system calls.


Popular posts from this blog

How to disable USB ports on Mac OS X Mavericks, Yosemite or El Capitan ?

How to enable root login in gnome on Debian 6 or 7