Search Results

Search: Posts Made By: milo
8,091
Posted By milo
Below is what I've tried. However, I use ^C to...
Below is what I've tried. However, I use ^C to interrupt (don't know how to use ^P) and a select menu to resume couting time.



#!/usr/bin/perl
# The script is to couting time (show clock) and...
8,091
Posted By milo
Hi subin, Thanks for your reply. yes, I...
Hi subin,

Thanks for your reply.

yes, I know signal should be used in this case. For the first presskey to stop clock, but resuming clock after second presskey is still outstanding.

Milo
8,091
Posted By milo
Pausing function with Perl
Hi all,

I got the request to make a Perl script with the requirements as follow:

1. Make a program that just shows the time, a clock on the format 12:01:24.
2. When someone press key...
Forum: Solaris 08-07-2007
3,029
Posted By milo
subnet is 255.255.252.0
subnet is 255.255.252.0
Forum: Solaris 08-07-2007
3,029
Posted By milo
Routing problem of Solaris
Hi,

I got problem of Sun Solaris 8 routing.

IP of SunA is 10.16.64.164, and have routing table:

10.16.64.0 10.16.64.164 U 1 19236 bge1
10.6.0.0 ...
Forum: Solaris 07-25-2007
1,517
Posted By milo
UserLockout artribute
Whether Sun Solaris 8 support UserLockout funtion? It means that users will be lock after N login attempts.

If so, all users will have same behavior or we can set for some particular users?
...
3,477
Posted By milo
I found command by myself nawk ' {...
I found command by myself
nawk ' { if(length($2) == "2") { print $1, substr($3,1,1) } else { print $1, substr($2,3,2) } }' input > output

Is there better way?

Thanks,
3,477
Posted By milo
Have one more issue need your help input...
Have one more issue need your help

input file
1 0, 1)
1 0, 2)
1 0, 3)
1 0,10)
1 0,11)
1 0,12)

how to use awk to have output file
1 1
1 2
1 3
1 10
1 11
1 12
...
3,477
Posted By milo
Wonderful, that works. Thanks alot anbu.
Wonderful, that works.

Thanks alot anbu.
3,477
Posted By milo
cicStatus Trk: 1 (7-208-0, 0, 4) (tms1/ 1/...
cicStatus
Trk: 1 (7-208-0, 0, 4) (tms1/ 1/ 3) last call: 02/02/07 15:51:54 GET received : [ ]
Trk: 1 (7-208-0, 0, 5) (tms1/ 1/ 4) last call: 02/02/07 15:52:50 SOFTBLOCK
Trk: ...
4,545
Posted By milo
Thansk anbu23. I got mistake with command.
Thansk anbu23. I got mistake with command.
3,477
Posted By milo
It's working fine now. your output is what I...
It's working fine now. your output is what I expected. I got mistake when check output by echo command.

details expected output file I want is
tappman -c '#'mps.1 -l 1 stop
tappman -c...
3,477
Posted By milo
Thanks Perderabo, that's so simple and great! ...
Thanks Perderabo, that's so simple and great!

But, out put file have all in one line... I wish they are separated lines... each line for one command...
3,477
Posted By milo
how to get output by awk
Hi all,

I have an input file like
trk 1 soft
trk 1 get
trk 1 get
trk 1 soft

Want to have output file contains line number of lines which have "soft" string from input like
1
4

Then,...
4,545
Posted By milo
Hi Cray_murli, it seems that column command...
Hi Cray_murli, it seems that column command doesn't exist.

I have table, would like to output fisrt column each line. Used awk as anbu's but output just in one line.

Hope your helps. Thanks.
Forum: Solaris 01-13-2007
3,806
Posted By milo
Thanks, What I want is backup data from...
Thanks,

What I want is backup data from local machine to remote which have tape driver with root account. As I read, we need to have local hostname in .rhosts of remote machine for this task. I...
Forum: Solaris 01-13-2007
3,806
Posted By milo
How about content format of .rhosts file, is it...
How about content format of .rhosts file, is it same as /etc/hosts.equiv:
hostname user

Thanks
Forum: Solaris 01-12-2007
4,774
Posted By milo
Hi, I am using ufsdump to full backup...
Hi,

I am using ufsdump to full backup harddisk of Sun to one TAPE which is assumed to have enough space for data 05 partitions:

# more /etc/vfstab
fd - /dev/fd fd - no ...
Forum: SCO 12-26-2006
21,103
Posted By milo
got it, thanks
got it, thanks
Forum: SCO 12-24-2006
21,103
Posted By milo
system log of SCO
Hi,

I did shutdown and restart SCO server, now wanna find log to know exactly when system was effected. I took a look at /var/adm/ but seem there are no logs for my required information. it seems...
Forum: Solaris 12-17-2006
123,510
Posted By milo
It worked. Thanks.
It worked. Thanks.
Forum: Solaris 12-10-2006
123,510
Posted By milo
hi, sorry for my fault. i just meant to...
hi,

sorry for my fault. i just meant to contact thru instant messenger, not email since it's so urgent that time.

anyway, thanks for ur advice... i am finding if there are other links...
Forum: Solaris 12-10-2006
123,510
Posted By milo
i attached one script for performance capture...
i attached one script for performance capture into crontab after finished crontab -e following ur instruction.

cpu.sh script is like that
#!/usr/bin/csh
sar 1 | tail -2 >> /home/peri/long/`date...
Forum: Solaris 12-10-2006
123,510
Posted By milo
hi Perderabo, I got critical problem would...
hi Perderabo,

I got critical problem would like your help in urgent.

after i tested commands you refered, and did some jobs (don't remember), i was kicked out and could not telnet to server.
...
Forum: Solaris 12-10-2006
123,510
Posted By milo
i tried with bash, and it worked :) (after take a...
i tried with bash, and it worked :) (after take a look at https://www.unix.com/showthread.php?t=33379)

peri@MPSAP1-hcm {13} bash
bash-2.03$ export EDITOR=vi
bash-2.03$ crontab -e

my current...
Showing results 1 to 25 of 27

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