10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I booted into single user mode with
/usr/sbin/reboot -- -s
but after doing a control -d
my
who -r
shows
run-level 3 Nov 17 14:07 3 0 S
I was expecting it to show run-level S
why is this still in run level 3?
thanks (1 Reply)
Discussion started by: goya
1 Replies
2. UNIX for Dummies Questions & Answers
hi All,
i have never used sed in Unix environment, but i have one script which is using this following command:
cat audit_session_rpt_MSP_20140331.lst|sed -n '/Apr 14/!p'| sed -n '/Page/!p'| sed -n '/UserName/!p' |\
egrep -v '^-|^=|^\*'|sed '/^$/d'|sed -e '1,7d'... (1 Reply)
Discussion started by: lovelysethii
1 Replies
3. Shell Programming and Scripting
Can anyone tell me how to interpret this:
listpage="ls |more" (the spaces are there in the example)
$listpage
It's from my bash book and I'm not sure what it means (3 Replies)
Discussion started by: Straitsfan
3 Replies
4. UNIX for Dummies Questions & Answers
I know $0 is the entire file's contents (at least I think that is what it is!), but what exactly is: $0!~
This was a snippet from a larger line
awk '$0!~/^$/ {print $0}'
This deletes blank lines, but I want to know specifically the $0!~ part... I am guessing /^$/ is regex for blank line...... (5 Replies)
Discussion started by: glev2005
5 Replies
5. Shell Programming and Scripting
Was wondering if someone could interpret this for me -- I'm not sure what everything means. It's a shell script from my bash book:
cd ()
{
builtin cd "$@"
es=$?
echo "$OLDPWD ->$PWD"
return $es
}
what I don't quite understand is the "$@". I think, if I understand... (6 Replies)
Discussion started by: Straitsfan
6 Replies
6. Shell Programming and Scripting
hi
I have a text file abc.txt as below
a = 0
b = 1
c = 3
i want to interpret this file i.e. if number corresponding to 'a' is 0 i want to run a script script.bash .
How do do that? (4 Replies)
Discussion started by: shishirkotkar
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
So I am new to Unix, and I need to check the performance of some apps I am running. But I don't know how to interpret the output from TOP.
Could somebody please explain the difference between the different values. And also explain how I can have a process which has a %CPU > 100?
... (7 Replies)
Discussion started by: dj_jay_smith
7 Replies
8. AIX
Hi All,
Does anyone familiar with “Rexx interpret” know of a script equivalent?
For those that don't know “Rexx interpret”, here's how a script might look.
variable='echo Hello World!'
interpret $variable
Output is Hello World! because $variable was interpreted.
Thanks,
Lou (6 Replies)
Discussion started by: LouPelagalli
6 Replies
9. UNIX for Dummies Questions & Answers
Hi guys,
I have no idea on unix but suddenly, my cobol programs calls a unix script that i know nothing about.
can you guys interpret these lines for me?
i know its a print command but I want to actually know how many copies it prints.
qprt -da -P $1 -t '6' -i '6' -l '70' $2
qprt -da... (1 Reply)
Discussion started by: supacow
1 Replies
10. Shell Programming and Scripting
ksh $ETL_XXX/bin/filename.ksh wf_workflowname .
Which is used in post session command. (2 Replies)
Discussion started by: dummy_needhelp
2 Replies
sched_thread_affinity(5) File Formats Manual sched_thread_affinity(5)
NAME
sched_thread_affinity - adjust scheduler thread affinity
VALUES
Failsafe
Default
Allowed values
Any value in the range of is allowed.
A value of indicates weak thread affinity, and the threads may run on different processors. A value of indicates strong thread affinity,
and the threads will likely remain on the same processor.
Recommended values
Use the default value in normal cases.
In special cases where it is imperative that threads run as quickly as possible, a value closer to may be used. However, this may lead to
an increase in cache misses.
Customers must evaluate the performance impact in their workload environment before changing the value of this tunable on production sys-
tems.
DESCRIPTION
The tunable defines on which processor a thread may likely run. A thread with lower affinity may move from one processor to another during
its lifetime, whereas a thread with higher affinity will likely experience minimal movement across processors.
A change in the value may have direct impact on system throughput and response times. A very small value may result in threads being run
much quicker at the possible expense of higher cache misses, and a very large value may result in threads being run less frequently if they
have run (or are running) on a loaded processor, with a possible benefit of improved cache affinity.
I/O intensive applications are likely to benefit from a lower value for this tunable.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect immediately.
When Should the Value of This Tunable Be Raised?
Any increase in the value of this tunable will cause most threads to remain on the processor where they have run during their lifetimes.
What Are the Side Effects of Raising the Value?
Raising the value of the tunable may cause some threads to wait to run, even though there may be less loaded or idle processors in the sys-
tem.
When Should the Value of This Tunable Be Lowered?
The tunable value should be lowered if the workload expects to run as quickly as possible, regardless of whether it is moved from processor
to processor at the cost of possible increases in cache misses.
What Are the Side Effects of Lowering the Value?
Lowering may result in an increase in cache misses as threads begin to run on different processors during their lifetimes.
What Other Tunable Values Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
Tunable Kernel Parameters sched_thread_affinity(5)