LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2010, 08:21 AM   #1
shiru
LQ Newbie
 
Registered: Nov 2010
Location: BANGALORE
Posts: 7

Rep: Reputation: 0
Question defination of "task_struct".


Where's the structure "task_struct" defined?
 
Old 12-02-2010, 10:10 AM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by shiru View Post
Where's the structure "task_struct" defined?
Here is a link to the latest version of "linux/include/sched.h".
 
1 members found this post helpful.
Old 12-08-2010, 11:17 AM   #3
shiru
LQ Newbie
 
Registered: Nov 2010
Location: BANGALORE
Posts: 7

Original Poster
Rep: Reputation: 0
Question source file of ps-command

where can i find the source file of ps command?
 
Old 12-08-2010, 11:28 AM   #4
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by shiru View Post
where can i find the source file of ps command?
http://procps.sourceforge.net/
 
1 members found this post helpful.
Old 12-10-2010, 01:08 PM   #5
shiru
LQ Newbie
 
Registered: Nov 2010
Location: BANGALORE
Posts: 7

Original Poster
Rep: Reputation: 0
Question reference for understanding Linux internals in depth .

please suggest me the best of the book for understanding LINUX INTERNALS in depth.
 
Old 12-10-2010, 04:27 PM   #6
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by shiru View Post
please suggest me the best of the book for understanding LINUX INTERNALS in depth.
The books I go to when I need a reference are
  • "Essential Linux Device Drivers", Sreekrishnan Venkateswaran
  • "Linux Device Drivers, 3rd Ed.", Corbet et al.
  • "Understanding Linux Network Internals", Christian Benvenuti

You might also want to have a look at "Understanding the Linux Kernel, 3rd Ed.", Bovet et al. However, all I have access to is the first edition, and I never look at it.
 
1 members found this post helpful.
Old 12-31-2010, 06:14 AM   #7
shiru
LQ Newbie
 
Registered: Nov 2010
Location: BANGALORE
Posts: 7

Original Poster
Rep: Reputation: 0
Question alloc_task_struct()

alloc_task_struct( )
This function allocates 8 KB task_union memory areas. The function takes memory
areas from the cache if it is at least half-full or if there isn't a free pair of consecutive
page frames available.



what is the importance of the condition shown with underline?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I "cat" or "grep" a file to ignore lines starting with "#" ??? callagga Linux - Newbie 7 08-16-2013 07:58 AM
"Multicolumn" or "tiles", or even "list" icon view on desktop, in any DE? the dsc Linux - Desktop 3 02-20-2010 10:25 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 08:11 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 09:31 AM


All times are GMT -5. The time now is 04:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration