- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How shell->Kernel communication happens?
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 03:31 AM
01-29-2007 03:31 AM
How shell->Kernel communication happens?
Are(shell & kernel) they communicating thru machine langauge & how the communication happens....
Thanks in advance...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 03:36 AM
01-29-2007 03:36 AM
Re: How shell->Kernel communication happens?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 06:17 PM
01-29-2007 06:17 PM
Re: How shell->Kernel communication happens?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 08:43 PM
01-29-2007 08:43 PM
Re: How shell->Kernel communication happens?
imagine a set of boxes, stacked within each other, like a russian doll.
The innermost box equates to the actual hardware of the machine(CPU/memory etc).
The next box is the kernel, which controls access and maintains control of the hardware.
The next bigger box is the application, one of which is a group of programs called shells, other may be C programs, browsers etc.
So, for an application to 'talk' to the memory, it needs to address the kernel, which is done via system calls, which may be dressed up as C functions, such as strcpy.
The request from the application is translated into machine-code and, via the kernel, executed.
A brief, but technical, overview at:
http://en.wikipedia.org/wiki/Kernel_%28computer_science%29
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
So far you have not awarded any points to any answer (0 of 10) !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 09:07 PM
01-29-2007 09:07 PM
Re: How shell->Kernel communication happens?
Or use tusc to see the system calls.