Search Results

Search: Posts Made By: aliyesami
7,180
Posted By aliyesami
I tried this but it just hangs . ...
I tried this but it just hangs .
/usr/sbin/snmp_trapsend -h 10.100.10.112 -i 10.200.32.22 -g 6 -s 1 -a "1.3.6.1.4.1.791.2.9.2 STRING (testing)"
7,180
Posted By aliyesami
no one ?
no one ?
7,180
Posted By aliyesami
I cant install new packages on our system , I...
I cant install new packages on our system , I have to use the exiting snmp_trapsend utility.
7,180
Posted By aliyesami
Snmp trap command for Solaris 5.10
I am using the following command to successfully send snmp traps on Linux but I cant get it to work on Solaris , can someone give me the syntax plz?

Linux:
/usr/sbin/snmptrap -v 2c -c org...
Forum: Solaris 10-19-2013
1,584
Posted By aliyesami
Network interface showing wrong configuratoin
on both of my T2000 I am seeing same values of 100Mbps for e1000g0 ethernet port.
i know all four ethernet ports on T2000 are gigabit ports so why is my first link showing as 100Mbps and how can i...
Forum: Solaris 10-06-2013
10,383
Posted By aliyesami
no iam not using any clustered filesystem . so...
no iam not using any clustered filesystem .
so you can't ufs mount a shared lun accross node on OS level ?
i have mounted the luns read/write cause i can create files on them on each node.
...
Forum: Solaris 10-06-2013
1,330
Posted By aliyesami
Strange isuse with shared storage in Solaris 10
i have luns offered by SE3310 being mounted on two T2000 servers (sun solaris 10u11) . i can see the files on both servers but if i create a new file or rename n existing file on one node its not...
Forum: Solaris 10-06-2013
10,383
Posted By aliyesami
How to mount a shared LUN between two hosts?
i had bunch of luns from storedge 3310 mounted on a T2000 and being used. Then i added a second T2000 to the storage array but
now i cant mount them on either nodes , i do see them in format...
Forum: Solaris 10-06-2013
1,508
Posted By aliyesami
[Solved] Issues connecting to storage array
I have two T2000 servers connected to sun storage array StorEdge 3310 as follows:

CH0 connected to SNGL BUS CONF
CH1 connected to HOST1
CH2 open
CH3 connected to HOST2
DUAL BUS CONF open ...
18,778
Posted By aliyesami
I found this on web simliar for what you guys are...
I found this on web simliar for what you guys are telling me and it worked pefect
#!/usr/bin/bash
printf "Enter start date( YYYYMMDD ):"
read startdate
printf "Enter end date( YYYYMMDD ):" ...
18,778
Posted By aliyesami
so if i want to search between 24th and 30th jan...
so if i want to search between 24th and 30th jan , I create two files one dated 23rh jan and one dated 31st jan n search ?
how do i created these files with touch ?
18,778
Posted By aliyesami
my shell is Ksh and iam on sun solaris 10. ...
my shell is Ksh and iam on sun solaris 10.

is there a way to use dates instead of +/- days ?
18,778
Posted By aliyesami
getting files between specific date ranges in solaris
hi !
how can i get files in a directory between certain date ranges ?
say all files created/modified between Jan24 - Jan31

thanks
3,462
Posted By aliyesami
Thanks everyone !
Thanks everyone !
3,462
Posted By aliyesami
can anyone give me the syntax please ? I am new...
can anyone give me the syntax please ? I am new to unix scripting and struggling .

---------- Post updated at 12:17 PM ---------- Previous update was at 12:00 PM ----------

Corona I heard you...
3,462
Posted By aliyesami
iam not sure i understand you can you please...
iam not sure i understand you can you please modify this command to act properly ?

var=`perl -MPOSIX -le 'print strftime ("%m%d%y",localtime ($F2))'`

thanks
Please use next time code tags...
3,462
Posted By aliyesami
using variables in perl not working
sdcprd@dotstoas110:$ echo $F2
1327332411

this works
----------
sdcprd@dotstoas110:$ perl -MPOSIX -le 'print strftime ("%m%d%y",localtime (1327332411))'
012312 <<<< correct date


this...
3,811
Posted By aliyesami
Thanks a lot ! that worked perfectly . ...
Thanks a lot !
that worked perfectly .

---------- Post updated at 10:34 AM ---------- Previous update was at 10:15 AM ----------

now iam stuck again !
perl is not translating the variable ....
3,811
Posted By aliyesami
date -d does not work on Solaris $ date -d...
date -d does not work on Solaris
$ date -d @1327329935 +%d%m%y
date: illegal option -- d
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a [-]sss[.fff]
3,811
Posted By aliyesami
converting epoch time to ddmmyy format
I can not find a working script or way to do this on sun solaris , can someone please guide me?

e.g 1327329935 epoch secs = 012312 (ddmmyy)

thanks
1,930
Posted By aliyesami
urgent help needed regarding splitting file
how can i split a file on last record ? say i have a file A with 4 records as follows :

first line
second line
third line
last line

I want to make two files B and C

with contents of...
1,601
Posted By aliyesami
yes i was doing it in a loop
cause i have to add the values in these column positions as i read them , can i do it in sed also without looping through the files ?
1,601
Posted By aliyesami
i was doing this but i had to do echo $line | cut...
i was doing this but i had to do echo $line | cut -c 4-8
but it is very slow
will sed speed it up ?
1,601
Posted By aliyesami
sed question
lets say i have a file with any number of records i want to read each record n extract the characters from col 4 through 8 , how can i do that ?

2131231313123121121
1312131321231212121...
2,489
Posted By aliyesami
forgot to add : yes I know which line Iam...
forgot to add : yes I know which line Iam looking for .. it is the line starting with %CLI-E
and yes all these lines are in a file.
Showing results 1 to 25 of 27

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