05-23-2013
If you're interested in learning kernel internals, Linux Kernel Development (3rd Edition) by Robert Love is highly regarded. It introduces key subsystems and data structures.
You may also find useful information at kernelnewbies.org
Regards,
Alister
This User Gave Thanks to alister For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Guys ,
AM using linux R.H 6.1 , I configured sendmail , when i update the alias file , i keep getting the following message :
" Warning: .cf file is out of date: sendmail 8.11.6 supports version 9, .cf file is version 8 "
so what does it mean , even though .cf file is not empty or... (1 Reply)
Discussion started by: tamemi
1 Replies
2. UNIX for Advanced & Expert Users
Hi Experts,
I'm getting the following errors on /var/adm/messages file permanently.
Dec 28 10:19:38 ioocsrv1 bsd-gw: open(dfA415ioocsrv3): File exists
Dec 28 10:20:53 ioocsrv1 bsd-gw: open(dfA415ioocsrv3): File exists
Dec 28 10:22:08 ioocsrv1 bsd-gw: open(dfA415ioocsrv3): File exists
Dec... (1 Reply)
Discussion started by: nikk
1 Replies
3. UNIX for Dummies Questions & Answers
I have got script like this
#!/bin/ksh -e
function errtrap {
es=$?
print "ERROR line $1: Command exited with status $es." ... (1 Reply)
Discussion started by: akrathi
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I have a SunFire V490, Solaris 10 with XP1024 storage and HP Library. I have noticed the following error messages in the /var/adm/messages file. These errors are being generated constantly. Also commands like devfsadm, format cfgadm etc are getting hung. After a reboot it works fine for a... (1 Reply)
Discussion started by: nitinp82
1 Replies
5. Solaris
dear all
i have the following error in messages in solaris server named devweb
does any one can help me about the error
the disk devapp connect by nfs to another server called devdb :
Oct 10 09:55:41 devweb nfs: WARNING: NFSMAPID_DOMAIN does not match the server: devdb domain.
Oct 10... (0 Replies)
Discussion started by: murad.jaber
0 Replies
6. Shell Programming and Scripting
Please see the below script-
ftp $FTPREMOTESERVER
prompt
mput $DATAPATH/*.dat
quit | ftp -in > FTPRETURNMSGLOGFILE # iam trying write the eroor messages inside a file when the ftp quits.
Based on the above script te ftp is properly working but writing into the file wen ftp quits is nor... (1 Reply)
Discussion started by: dineshr85
1 Replies
7. UNIX for Dummies Questions & Answers
New to UNIX.
I saw these messages in my logs.
What do they mean? What is a forward and reverse map?
Unable to add forward map from Rogers.ga.com to 205.150.86.252: timed out
unable to add reverse map from 241.86.150.205.in-addr.arpa. to FFXXB2RNHR71.NA.XOM.COM: timed out (2 Replies)
Discussion started by: mojoman
2 Replies
8. Shell Programming and Scripting
Hi Everyone,
I have an issue and trying to get a solution but was not succesful yet. Any help is greatly appreciated.
I am using ksh to inoke sql loader to load data from txt file into two oracle tables based on the condition written in the control file. If an error occurs while loading into... (8 Replies)
Discussion started by: vpv0002
8 Replies
9. AIX
Hi,
Can you please look into the below errors from syslog in AIX?
And let me know is this a issue? How can I avoid these errors with out affecting my LPAR.
Detail Data
SYSLOG MESSAGE
<27>Aug 23 08:24:28 syslog: slp: 0660-084 The SA failed to decode and compute received message:... (0 Replies)
Discussion started by: System Admin 77
0 Replies
10. SuSE
How are you?
SUSE V10 and 11.
In /var/log/messages I see these lines in some servers. I'd like to know what causes these errors and how to fix them.
Thank you,
error: PAM: Authentication failure for root from XXXXXXXX
Did not receive identification string from XXXXXXX
Invalid user suse-gm... (2 Replies)
Discussion started by: JDBA
2 Replies
LEARN ABOUT DEBIAN
taskset
TASKSET(1) User Commands TASKSET(1)
NAME
taskset - retrieve or set a process's CPU affinity
SYNOPSIS
taskset [options] mask command [arg]...
taskset [options] -p [mask] pid
DESCRIPTION
taskset is used to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affin-
ity. CPU affinity is a scheduler property that "bonds" a process to a given set of CPUs on the system. The Linux scheduler will honor the
given CPU affinity and the process will not run on any other CPUs. Note that the Linux scheduler also supports natural CPU affinity: the
scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. Therefore, forcing a specific CPU
affinity is useful only in certain applications.
The CPU affinity is represented as a bitmask, with the lowest order bit corresponding to the first logical CPU and the highest order bit
corresponding to the last logical CPU. Not all CPUs may exist on a given system but a mask may specify more CPUs than are present. A
retrieved mask will reflect only the bits that correspond to CPUs physically on the system. If an invalid mask is given (i.e., one that
corresponds to no valid CPUs on the current system) an error is returned. The masks are typically given in hexadecimal. For example,
0x00000001
is processor #0
0x00000003
is processors #0 and #1
0xFFFFFFFF
is all processors (#0 through #31).
When taskset returns, it is guaranteed that the given program has been scheduled to a legal CPU.
OPTIONS
-a, --all-tasks
Set or retrieve the CPU affinity of all the tasks (threads) for a given PID.
-p, --pid
Operate on an existing PID and do not launch a new task.
-c, --cpu-list
Specify a numerical list of processors instead of a bitmask. The numbers are separated by commas and may include ranges. For exam-
ple: 0,5,7,9-11.
-h, --help
Display usage information and exit.
-V, --version
Display version information and exit.
USAGE
The default behavior is to run a new command with a given affinity mask:
taskset mask command [arguments]
You can also retrieve the CPU affinity of an existing task:
taskset -p pid
Or set it:
taskset -p mask pid
PERMISSIONS
A user must possess CAP_SYS_NICE to change the CPU affinity of a process. Any user can retrieve the affinity mask.
AUTHOR
Written by Robert M. Love.
COPYRIGHT
Copyright (C) 2004 Robert M. Love
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
chrt(1), nice(1), renice(1), sched_setaffinity(2), sched_getaffinity(2)
See sched_setscheduler(2) for a description of the Linux scheduling scheme.
AVAILABILITY
The taskset command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux April 2003 TASKSET(1)