Search Results

Search: Posts Made By: mjoshi87
Forum: Solaris 07-12-2011
56,391
Posted By goose25
Run the command df -oi and the output will list...
Run the command df -oi and the output will list the disks in your filesystem and the number of inodes used and free.
Forum: Solaris 07-05-2011
56,391
Posted By hergp
If you mean inode usage data, you can use df...
If you mean inode usage data, you can use df like:

$ df -g /
/ (/dev/md/dsk/d0 ): 8192 block size 1024 frag size
41310292 total blocks 18193814 free blocks...
Forum: Solaris 06-24-2011
4,514
Posted By ygemici
you are right , ping test takes long time..i...
you are right , ping test takes long time..i modified and defined some defaults(for exa ping test about send 4 echo packet check in script)..
now you can give a ping try count for first parameter...
Forum: Solaris 06-22-2011
4,514
Posted By ygemici
#!/usr/bin/bash if [ $# != 2 ] ; then echo...
#!/usr/bin/bash
if [ $# != 2 ] ; then echo "usage $0 'packetcount' hostlistfile" ; exit 0 ; fi
sleep=2 ; c=$1 # count for packets
while read -r host ; do
(sleep $sleep;ping -s $host 56 $c...
Forum: Solaris 06-21-2011
4,514
Posted By ygemici
i try some script for your needs ;) # cat...
i try some script for your needs ;)
# cat pinglist
localhost
localhost2
192.168.80.130


you can use this format "./testping.sh counts(packet try) hostlistfile"
and i defined some values in...
Forum: Solaris 06-21-2011
4,514
Posted By Corona688
That's a useless use of cat...
That's a useless use of cat (http://partmaps.org/era/unix/award.html) and useless use of backticks (http://partmaps.org/era/unix/award.html#backticks). Whenever you have for x in `cat file` you can...
Forum: Solaris 06-21-2011
4,514
Posted By itkamaraj
sleep 5 -- waiting for 5 seconds, after that we...
sleep 5 -- waiting for 5 seconds, after that we are pinging the host


#!/bin/sh
for i in `cat /tmp/PingStatus.txt`
do
sleep 5; ping $i | grep -w "alive" && echo "$i is OK" || opcmsg...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 03:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy