11-10-2008
How to detect OS is SLES 10 or not
Hi,
I would like to programmatically find if given OS is SLES 10 / RHEL 3/.RHEL 4/RHEL5 etc ..
For this do we have any library call/sys call? Or should we use any sys. structure which would give me detailed info. Share me if you have any pointers.
Thanks in advance
- Krishna
10 More Discussions You Might Find Interesting
1. Linux
Dear All,
I have two intel xeon servers running with SLES 10 on a cluster environment (Veritas Cluster 4.1 - 2 Node Cluster - Active Passive). Both the systems are having hardware RAID 1 for OS disk. Both the systems are having DVD writer.
I would like to take the OS backup on DVD which can... (0 Replies)
Discussion started by: jumadhiya
0 Replies
2. SuSE
YaST no longer works on one of our SUSE Linux Enterprise Server 10, When I issue “Yast” I get the following error messages
"warning: the ncurses frontend is installed but does not work"
"You need to install yast2-ncurses to use the YaST2 text mode interface"
Can you help? please (2 Replies)
Discussion started by: hassan1
2 Replies
3. SuSE
Is there any doc/procedure to set up VNC on SLES 11 to connect from windows clients?? (1 Reply)
Discussion started by: s_linux
1 Replies
4. SuSE
I just upgraded sles 10 sp2 to sles 11. Apache is running on the server. apache needs to contact the backend server which is weblogic. But once I upgrade to sles 11 i cant able to telnet or ping to the backend (weblogic)server. I checked firewall and is disabled. Any ideas. Thanks. (4 Replies)
Discussion started by: s_linux
4 Replies
5. Shell Programming and Scripting
Hi,
could someone help me to create the following scripts
Need to create couple of shell scripts on LINUX SLES 10
Using my id
---------------
First script – this script should contain su and should take input <process name>
1 -login using my id and then sudo to... (1 Reply)
Discussion started by: lookinginfo
1 Replies
6. SuSE
Hello,
I would like to change a password of a user to a simple one but when i try to add an only lowercase pass i get the error:
Weak password: too short.
Try again.
You can now choose the new password.
A valid password should be a mix of upper and lower case letters,
digits, and... (2 Replies)
Discussion started by: @dagio
2 Replies
7. SuSE
Can anyone give me a little clue on why the hard drive cache read timings on sles 9 is better then sles 11? The same hardware was used in both test. I even deleted the ata_generic module from initrd.
The speed difference is 10MB vs 5 MB
Thanks (1 Reply)
Discussion started by: 3junior
1 Replies
8. UNIX for Advanced & Expert Users
I have a SLES 11 install with yum also installed. yum works when I try to install single packages.
However, when i try the yum command: "yum grouplist" yum can not detect any groups.
Is there some way to "enable" or install a grouplist feature in SLES 11 ?
==== details ====
SUSE Linux... (0 Replies)
Discussion started by: toro95037
0 Replies
9. SuSE
I had sles 11 sp2 installed on my system some days back and it was running fine.
Today after I restarted my system the gui is not coming up and system starts in command terminal.
sax2 command returns error:
sax: gui is missing, starting command line interface
sax: no x-server... (4 Replies)
Discussion started by: rupeshkp728
4 Replies
10. SuSE
Hello All,
I'm trying to configure a SLES 10.3 machine as our Zypper server. I created the zypper directories with all the RPMs, made the directory structure accessible over HTTP but I'm stuck at the final stage: createrepo.
Looks like 'createrepo' is not present on this version :confused:
... (3 Replies)
Discussion started by: satish51392111
3 Replies
LEARN ABOUT OSF1
priocntlset
priocntlset(2) System Calls Manual priocntlset(2)
NAME
priocntlset - change scheduling property of a process or set of processes
SYNOPSIS
#include <sys/types.h> #include <sys/procset.h> #include <sys/priocntl.h> #include <sys/rtpriocntl.h> #include <sys/tspriocntl.h>
int priocntlset(
procset_t *psp,
int cmd,
void *arg );
PARAMETERS
Specifies a pointer to a structure. The type of structure depends on the value you select for the cmd parameter. Specifies the functions
to be performed. Specifies a pointer to a procset structure.
DESCRIPTION
This function is used to change the scheduling properties of a running process or group of processes. While the priocntl(2) function per-
forms the same tasks, this function enables you to specify the process or set of processes that will change in a less complicated manner.
How the process changes depends on the value you select for the cmd parameter. The value of the arg parameter is dependent on the value
you select for the cmd parameter. See the priocntl function for detailed information on these parameters.
The psp parameter enables you to identify the process or set of processes that is to be affected by this call. This parameter points to a
procset.h structure which defines the selection process. In the <sys/procset.h>, a setprocset macro is defined that displays a means of
initializing the procset structure. For more information on this structure, see the procset(4) reference page.
RETURN VALUE
This system call returns the same values as the priocntl function.
ERRORS
This system call returns the same errors as priocntl function.
SEE ALSO
Functions: priocntl(2)
Files: procset(4)
priocntlset(2)