Re: which functions in kernel called by cp and cat ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just use strace.
So use strace cp file1 file2 and strace cat file2.
It will tell you the system calls those programs are making.

Regards,
Can

On Mar 3, 2005, at 11:22 PM, cranium2003 wrote:

hello,
             I want to know when i give command like
cp file1 file2 or cat file2
           how they does that with respect to kernel
source code which function in kernel they call to
accomplish their tasks?
regards,
cranium


__________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux