I am currently working on a project, it would be helpful if I could monitor what happens inside the OS when I run an application or when I press some shortcut key.

more precisely, I would like to know internally what systems calls are made by a process ( an instance of an application ), its PID, etc.

I would like to get the above information for both applications as well as for shortcut keys:-


  1. if firefox is running right now, whats the process ID? what system calls has it made?
  2. if I press alt+tab, what system calls have been made?

I have tried using process monitor, windows performance analyzer, but i don't see how the above can be done using those apps.

  • I think the answer will be highly OS-dependent, please specify the OS. – peterh Oct 9 '20 at 9:12
  • As of now, I'm interested in windows and ubuntu. – pal Oct 10 '20 at 14:34
  • Welcome pal! Because answers to your question will likely be OS-dependent, can you please specify a single OS in your question, and tag appropriately? Feel free to write additional question (even if it is mostly cut and paste) for another operating system. Thanks! – RockPaperLz- Mask it or Casket Oct 15 '20 at 13:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.