os_kernel_lab/related_info/lab1/lab1-ex1.md

13 lines
246 B
Markdown
Raw Normal View History

2015-03-07 22:37:54 +08:00
#
Try below command
```
echo "compile and watch the syscalls from lab1-ex1"
gcc -o lab1-ex1.exe lab1-ex1.c
strace -c ./lab1-ex1.exe
echo "watch the interrupts in linux"
more /proc/interrupts
```
Try to analysis the means of these output log.