10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Friends,
I have a directory when i take du of that directory it takes alot of memory and cpu and I/O, i want to use nice to run my script that have du command slowly so it won't take I/O and cpu, please suggest. (6 Replies)
Discussion started by: learnbash
6 Replies
2. HP-UX
Running 2 VM Guests on an HPUX Integrity Server. One Guest runs great, the other is always at a high NICE value and 0% idle as shown in TOP:
What do you think should be tuned to bring down the NICE and increase IDLE %? Thanks in advance
-hpuxadmin
slow VM GUEST
Load averages: 2.56,... (5 Replies)
Discussion started by: hpuxadmin
5 Replies
3. Shell Programming and Scripting
Hello folks,
I am searching for pattern, after that i want its presenece on top to bottom basis, like
cat abcd.txt |grep "123"|awk {'print $3'} |sort|uniq -c
it show result like
10 1.1.1.1
1 1.1.1.1
15 1.1.1.1
100 1.1.1.1
but i want to see this like
100 1.1.1.1
15 1.1.1.44
10... (3 Replies)
Discussion started by: learnbash
3 Replies
4. UNIX for Advanced & Expert Users
Hello,
Some guy said to me that using the nice command to decrease the priority of a process is a myth, that the operating system corrects the priorities as the processes need cpu. Is this true? (4 Replies)
Discussion started by: psimoes79
4 Replies
5. AIX
Is there a 'top' command equivalent in AIX 4.2 ?
I already checked and I do not see the following ones anywhere:
top
nmon
topas (1 Reply)
Discussion started by: Browser_ice
1 Replies
6. Linux
Hi, new here and need some help. Sometimes my site is extremely slow, if when there aren't too many people on, whereas when there are over 300 online members the site may be very fast. We use CentOS, PHP 5.26. The server has 4GB and Plesk usually shows about 2 or 3 GB free.
I believe I can see... (4 Replies)
Discussion started by: pspace
4 Replies
7. HP-UX
Hi,
I have two identical 12 CPU HPUX machines, and I run the same processes on each that load the boxes fully.
top on one reports activity under the NICE (19%) and SYS (18%) columns, while top on the other reports 0% NICE and 16% SYS. What would cause NICE to be zero on one machine and not... (5 Replies)
Discussion started by: CBorgia
5 Replies
8. UNIX for Dummies Questions & Answers
hello everybody:
I have some job running on tru64 system and Im the root, due to limited resources I end up with my job ( vdump) for example taking the lowest share, I researched the nice command on the net, but couldnt get enough info, can I use it to already running process or I only use it... (1 Reply)
Discussion started by: aladdin
1 Replies
9. Programming
Hi I want to implement the nice command in the shell that I am building. I came to know that there is a corresponding nice() system call for the same. But since I will be forking different processes to run different commands typed on the command prompt, is there any way I can make a command... (2 Replies)
Discussion started by: tejbuch
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I've got some CPU bottleneck on a HP-UX 11 server : i didn't
understand it until i discover i've got an unusual high percentage
of NICE% CPU regarding my DBRMS process (Sybase 12.x).
How do i have to understand it and how to resolve it ?
Thx. (0 Replies)
Discussion started by: eliador2001
0 Replies
AOUT(4) BSD Kernel Interfaces Manual AOUT(4)
NAME
aout -- kernel support for executing binary files in legacy a.out format
SYNOPSIS
kldload a.out
DESCRIPTION
The a.out(5) executable format was used before the release of FreeBSD 3.0. Since i386 was the only supported architecture at that time,
a.out(5) executables can only be activated on platforms that support execution of i386 code, such as i386 and amd64.
To add kernel support for old syscalls and old syscall invocation methods, place the following options in the kernel configuration file:
options COMPAT_43
options COMPAT_FREEBSD32
The COMPAT_FREEBSD32 option is only required on 64-bit CPU architectures.
The aout.ko module needs to be loaded with the kldload(8) utility in order to support the a.out(5) image activator:
kldload aout
Alternatively, to load the module at boot time, place the following line in loader.conf(5):
aout_load="YES"
The a.out(5) format was mainstream quite a long time ago. Reasonable default settings and security requirements of modern operating systems
today contradict the default environment of that time and require adjustments of the system to mimic natural environment for old binaries.
The following sysctl(8) tunables are useful for this:
security.bsd.map_at_zero Set to 1 to allow mapping of process pages at address 0. Some very old ZMAGIC executable images require
text mapping at address 0.
kern.pid_max Old versions of FreeBSD used signed 16-bit type for pid_t. Current kernels use 32-bit type for pid_t, and
allow process id's up to 99999. Such values cannot be represented by old pid_t, mostly causing issues for
processes using wait(2) syscalls, for example shells. Set the sysctl to 30000 to work around the problem.
kern.elf32.read_exec Set to 1 to force any accessible memory mapping performed by 32-bit process to allow execution, see mmap(2).
Old i386 CPUs did not have a bit in PTE which disallowed execution from the page, so many old programs did
not specify PROT_EXEC even for mapping of executable code. The sysctl forces PROT_EXEC if mapping has any
access allowed at all. The setting is only needed if the host architecture allows non-executable mappings.
SEE ALSO
execve(2), a.out(5), elf(5), sysctl(8)
HISTORY
The a.out(5) executable format was used on ancient AT&T UNIX and served as the main executable format for FreeBSD from the beginning up to
FreeBSD 2.2.9. In FreeBSD 3.0 it was superseded by elf(5).
AUTHORS
The aout manual page was written by Konstantin Belousov <kib@FreeBSD.org>.
BUGS
On 64bit architectures, not all wrappers for older syscalls are implemented.
BSD
August 14, 2012 BSD