Sponsored Content
Full Discussion: How to learn UNIX
Operating Systems Linux Fedora How to learn UNIX Post 302504791 by Corona688 on Tuesday 15th of March 2011 12:30:26 PM
Old 03-15-2011
Quote:
Originally Posted by michael78
I've used Ubuntu in the past and think it's come on a long way but is probably too geared towards the home user.
Even though it has a server version I'd tend to agree. When people ask me for advice on it most of the time is spent fighting the autoconfigurators and a small fraction on making it do what you actually want it to do... Fedoracore, SuSe, and Gentoo are much less windows-like.
 

9 More Discussions You Might Find Interesting

1. Programming

What to learn in Unix

Hi I've landed an entry level job in a s/w company.I've not yet started working.But they told me it would be good if i know unix very well.I don't have any idea abt unix.and now i realise it is very vast.It would be nice if somebody can tell me what i should be learning in unix.I don't think i'll... (5 Replies)
Discussion started by: liiza
5 Replies

2. OS X (Apple)

Want to learn Unix on PB

I've got a 15" PB running Panther and I truly want to delve into the Unix base. I want to learn what is going on under my system and I want to learn how to be able to work in the Unix environment. I've had some experience with Redhat and Mandrake Linux, so I'm not afraid of the shell prompt. I'd... (2 Replies)
Discussion started by: MortonM33
2 Replies

3. SCO

want to Learn Unix

:confused: Hello everybody, i am totally new to unix, i want to learn unix. i have a server with pIII, 256 mb RAM, two SCSI disk w/o RAID controller.and one IDE CD-ROM Drive. i heard SCO installs on intel platform. what steps should i take for installing SCO on this machine? can anybody help me... (1 Reply)
Discussion started by: tataiermail
1 Replies

4. UNIX for Dummies Questions & Answers

want to learn unix

Hey guys, I would like to learn unix but first i need to start to load unix OS into my computer but i dont know where to start or get the CD to load...help appreciated...thanks (2 Replies)
Discussion started by: rxsonny
2 Replies

5. UNIX for Dummies Questions & Answers

Where 2 learn unix ??????

HI . my friends am very ewager to learn unix and its operations can any experts can say wher can i easily learn unix through net and give me some links to learn unix through also tutorials.plz help me am very interested also i want ot learn AIX so only am asking this help my... (1 Reply)
Discussion started by: harsath24330
1 Replies

6. UNIX for Dummies Questions & Answers

Want to learn unix

Hello everyone, I would like to learn and administrate unix operation system. For training purposes, i would to install at home an unix system on my windows machine (using vmware player or virtual box.) I would like you to advise me on which exactly operation system can i install for learning... (2 Replies)
Discussion started by: stunaz
2 Replies

7. UNIX for Dummies Questions & Answers

How to learn UNIX?

Hey everybody, I am a 25 year old web programmer in Malaysia. I am not hapy with my line of work and I want to do something more. I know asp.net,asp,php and jsp.But they dont really land me in a good promising job wich I realy love. I am more interested in Oracle DBMS. now to be a DBA in Oracle... (7 Replies)
Discussion started by: shounak
7 Replies

8. UNIX Desktop Questions & Answers

Best way to learn Unix....

Hello- I talked to a friend the other day....he said learning Linux is a boon to my Windows Server Support career. I know linux comes from Unix so I am wondering if I should start by learning Unix. I have a MAC with OSX on it that I can use. Will this work for learning line command? My goal is... (1 Reply)
Discussion started by: digitalayon
1 Replies

9. UNIX for Dummies Questions & Answers

Best way to learn UNIX

Hi, I am the ultimate noob when it comes to UNIX. Apart from a few basic thing like ls -l and mkdir (and that really is about as good as it gets) I know absolutely nothing about UNIX and I want to learn it and get better! I'm sure like with most things, just getting stuck in and trying... (3 Replies)
Discussion started by: thebdj
3 Replies
lgrp_affinity_get(3LGRP)				 Locality Group Library Functions				  lgrp_affinity_get(3LGRP)

NAME
lgrp_affinity_get, lgrp_affinity_set - get of set lgroup affinity SYNOPSIS
cc [ flag ... ] file... -llgrp [ library ... ] #include <sys/lgrp_user.h> lgrp_affinity_t lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp); int lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp, lgrp_affinity_t affinity); DESCRIPTION
The lgrp_affinity_get() function returns the affinity that the LWP or set of LWPs specified by the idtype and id arguments have for the given lgroup. The lgrp_affinity_set() function sets the affinity that the LWP or set of LWPs specified by idtype and id have for the given lgroup. The lgroup affinity can be set to LGRP_AFF_STRONG, LGRP_AFF_WEAK, or LGRP_AFF_NONE. If the idtype is P_PID, the affinity is retrieved for one of the LWPs in the process or set for all the LWPs of the process with process ID (PID) id. The affinity is retrieved or set for the LWP of the current process with LWP ID id if idtype is P_LWPID. If id is P_MYID, then the current LWP or process is specified. The operating system uses the lgroup affinities as advice on where to run a thread and allocate its memory and factors this advice in with other constraints. Processor binding and processor sets can restrict which lgroups a thread can run on, but do not change the lgroup affinities. Each thread can have an affinity for an lgroup in the system such that the thread will tend to be scheduled to run on that lgroup and allo- cate memory from there whenever possible. If the thread has affinity for more than one lgroup, the operating system will try to run the thread and allocate its memory on the lgroup for which it has the strongest affinity, then the next strongest, and so on up through some small, system-dependent number of these lgroup affinities. When multiple lgroups have the same affinity, the order of preference among them is unspecified and up to the operating system to choose. The lgroup with the strongest affinity that the thread can run on is known as its "home lgroup" (see lgrp_home(3LGRP)) and is usually the operating system's first choice of where to run the thread and allocate its memory. There are different levels of affinity that can be specified by a thread for a particuliar lgroup. The levels of affinity are the follow- ing from strongest to weakest: LGRP_AFF_STRONG /* strong affinity */ LGRP_AFF_WEAK /* weak affinity */ LGRP_AFF_NONE /* no affinity */ The LGRP_AFF_STRONG affinity serves as a hint to the operating system that the calling thread has a strong affinity for the given lgroup. If this is the thread's home lgroup, the operating system will avoid rehoming it to another lgroup if possible. However, dynamic reconfig- uration, processor offlining, processor binding, and processor set binding and manipulation are examples of events that can cause the oper- ating system to change the thread's home lgroup for which it has a strong affinity. The LGRP_AFF_WEAK affinity is a hint to the operating system that the calling thread has a weak affinity for the given lgroup. If a thread has a weak affinity for its home lgroup, the operating system interpets this to mean that thread does not mind whether it is rehomed, unlike LGRP_AFF_STRONG. Load balancing, dynamic reconfiguration, processor binding, or processor set binding and manipulation are examples of events that can cause the operating system to change a thread's home lgroup for which it has a weak affinity. The LGRP_AFF_NONE affinity signifies no affinity and can be used to remove a thread's affinity for a particuliar lgroup. Initially, each thread has no affinity to any lgroup. If a thread has no lgroup affinities set, the operating system chooses a home lgroup for the thread with no affinity set. RETURN VALUES
Upon successful completion, lgrp_affinity_get() returns the affinity for the given lgroup. Upon successful completion, lgrp_affinity_set() return 0. Otherwise, both functions return -1 and set errno to indicate the error. ERRORS
The lgrp_affinity_get() and lgrp_affinity_set() functions will fail if: EINVAL The specified lgroup, affinity, or ID type is not valid. EPERM The effective user of the calling process does not have appropriate privileges, and its real or effective user ID does not match the real or effective user ID of one of the LWPs. ESRCH The specified lgroup or LWP(s) was not found. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
lgrp_home(3LGRP), liblgrp(3LIB), attributes(5) SunOS 5.10 16 Apr 2003 lgrp_affinity_get(3LGRP)
All times are GMT -4. The time now is 10:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy