05-14-2009
IF someone could point me a link , that would also be nice , i did some googling but in vain.
Thanks...
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!!
I am these days working on a project, where I need to know about the disk controllers available in a machine (e.g., 3ware,IBM,etc).
Please, let me know the command by which I can get the information.
thnx,
priyanka (3 Replies)
Discussion started by: reply2priyanka
3 Replies
2. UNIX and Linux Applications
Hi I am trying to format all the disks in several of my old dec-alphas and unix boxes. I have connected to the hsz70 controller and used "run hsutil" command but when i select the "format" option, the response i get is "no available unattached devices to format" Does anyone know how I can... (0 Replies)
Discussion started by: petergrivas
0 Replies
3. Solaris
When I look at format I can see the following info:
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@1,0
Can anyone tell me... (2 Replies)
Discussion started by: James_UK
2 Replies
4. Hardware
I'm getting this message using hpacucli in HP ProLiant BL460c G6. Raid controller is already enabled:
# hpacucli
HP Array Configuration Utility CLI 8.35-7.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
=> ctrl all show... (0 Replies)
Discussion started by: linuxgeek
0 Replies
5. Solaris
Hi folks,
I just recently build myself a NAS with Oracle Solaris 11 Express.
MOBO: Asus M4N68T-M LE V2 nForce 630a AM3
PCI-e Controller: 2x Exsys EX-3503 with Sil3132 Chipset (latest FW)
HDD: 7x 2000GB Samsung EcoGreen F4 HD204UI 32MB 3.5" (latest FW)
OS: SunOS zaruba 5.11 snv_151a i86pc... (4 Replies)
Discussion started by: Garter
4 Replies
6. BSD
Hi. I have been running OpenBSD(4.9) and it recognizes my Belkin wireless adapter and I don't have issues with it very often. I prefer FreeBSD over OpenBSD, but FreeBSD(7.4) doesnt recognize my USB wifi card. Under OpenBSD ifconfig shows my card as rsu0 so I tried adding the following to... (1 Reply)
Discussion started by: bsdforme
1 Replies
7. Homework & Coursework Questions
From the below i would need the difference using between && and ||
error_func()
{
# Standard error function
] && print -u2 "ERROR: $*"
exit 1
}
] && error_func "Source Directory is missing as input argument"
] || error_func "Source Directory does not... (1 Reply)
Discussion started by: arun888
1 Replies
8. Shell Programming and Scripting
Hello Experts,
I need the description (like if user has done sudo,logging from winscp termial or ssh from other machine) using the last command.Can someone help me out please.
Thanks. (3 Replies)
Discussion started by: ahmed.vaghar
3 Replies
NICE(2) Linux Programmer's Manual NICE(2)
NAME
nice - change process priority
SYNOPSIS
#include <unistd.h>
int nice(int inc);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
nice(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
DESCRIPTION
nice() adds inc to the nice value for the calling process. (A higher nice value means a low priority.) Only the superuser may specify a
negative increment, or priority increase. The range for nice values is described in getpriority(2).
RETURN VALUE
On success, the new nice value is returned (but see NOTES below). On error, -1 is returned, and errno is set appropriately.
ERRORS
EPERM The calling process attempted to increase its priority by supplying a negative inc but has insufficient privileges. Under Linux the
CAP_SYS_NICE capability is required. (But see the discussion of the RLIMIT_NICE resource limit in setrlimit(2).)
CONFORMING TO
SVr4, 4.3BSD, POSIX.1-2001. However, the Linux and (g)libc (earlier than glibc 2.2.4) return value is nonstandard, see below. SVr4 docu-
ments an additional EINVAL error code.
NOTES
SUSv2 and POSIX.1-2001 specify that nice() should return the new nice value. However, the Linux syscall and the nice() library function
provided in older versions of (g)libc (earlier than glibc 2.2.4) return 0 on success. The new nice value can be found using getprior-
ity(2).
Since glibc 2.2.4, nice() is implemented as a library function that calls getpriority(2) to obtain the new nice value to be returned to the
caller. With this implementation, a successful call can legitimately return -1. To reliably detect an error, set errno to 0 before the
call, and check its value when nice() returns -1.
SEE ALSO
nice(1), fork(2), getpriority(2), setpriority(2), capabilities(7), renice(1)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2007-07-26 NICE(2)