9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
what does the below do.
echo * | xargs ls | wc –l
echo * - Output a string comprising the name of each file in the working directory, with each name separated by a space.
xargs ls - construct argument list command
wc -l - it will pipe the output to the wc command, which will... (4 Replies)
Discussion started by: houmingc
2. Shell Programming and Scripting
I do have some basic knowledge of Unix. The task I am trying to do through shell script is to generate the view script for all of the tables which is in YYYYMMDD format (I assume I am on Ksh).
I have certain tables that ends in YYYYMMDD format (eg: tbl_20150630)
For each... (1 Reply)
Discussion started by: chill3chee
3. UNIX for Advanced & Expert Users
working on Solaris 10. need your help on ping behaviour that I encountered.
I ping from source to destination
-bash-3.2# ping -s -t 128 10.10.10.200
PING 10.10.10.200: 56 data bytes <===== stops here for 2 minutues before getting reply back
64 bytes from 10.10.10.200:... (9 Replies)
Discussion started by: ghostdog74
On my VIo I see the following for my disks:
$ lspath | grep hdisk6
Enabled hdisk6 fscsi0 200600a0b82193f7,4000000000000
Enabled hdisk6 fscsi0 200700a0b82193f7,4000000000000
Enabled hdisk6 fscsi2 200600a0b82193f8,4000000000000
Failed hdisk6 fscsi2 200700a0b82193f8,4000000000000
$ lspath |... (8 Replies)
Discussion started by: petervg
5. Shell Programming and Scripting
I'm writing a Korn script but am having trouble because the shell interprets the asterisk in this case. Can anyone tell me if there is a way to fix this so that grep takes in STDIN without the interpretation?
line="30 09 * * 1-4 /home/user01/bin/start"
echo "$line" | grep 'start' (16 Replies)
Discussion started by: sprucio
What means Solaris 10 5/09 and Solaris 10 10/09, I mean the suffix 5/09 and 10/09 ?
thx for help. (1 Reply)
Discussion started by: presul
7. UNIX for Dummies Questions & Answers
I get the message NOTICE HTFS :No Space on dev hd (1/104), What does (1/104) mean? Is there any link, I can get material on understanding unix message log?
thanks. (4 Replies)
Discussion started by: scomrade
with a sar i have this result:
System configuration: lcpu=48 ent=4.00
14:06:37 %usr %sys %wio %idle physc %entc
14:06:39 26 9 3 62 1.63 40.7
14:06:41 26 9 3 63 1.58 39.4
14:06:43 ... (0 Replies)
Discussion started by: pascalbout
9. UNIX for Advanced & Expert Users
I have used SAR -b to get some Unix cache / buffer metrics and the results are confusing me a bit.
The pread/s & pwrit/s are showing 0. However the lread/s and lwrit/s are showing figures. I note also that the bread/s and bwrit/s are showing figures. I believe that pread/s and pwrit/s is not... (3 Replies)
Discussion started by: jimthompson