Search Results

Search: Posts Made By: Mike_the_Man
Forum: Solaris 07-31-2009
3,291
Posted By Mike_the_Man
Issues with ldd
I tried to compile php and integrate it into apache on solaris.
It compiled ok and I created a package. If I install it on a system that has the libpng from sunfreeware, it wants to use that...
11,282
Posted By Mike_the_Man
Problem sending excel attachments with MIME::Lite in perl
I am running a perl script that generates an excel doc and then emails it as an attachment. I can generate the excel file fine. I can scp it from the box and open it with no problems. When I send it...
Forum: Solaris 01-05-2007
2,662
Posted By Mike_the_Man
In Solaris 10, zfs has some compression...
In Solaris 10, zfs has some compression attributes that I have never experimented with. You can try to take a look at that.
5,969
Posted By Mike_the_Man
The setting of the log variable line will give...
The setting of the log variable line will give you an error using the `.
The rest looks ok. I would change would be the redirects on your log files. If you want a new log file everyday, then you...
Forum: Solaris 08-01-2006
7,002
Posted By Mike_the_Man
Oh yeah, that is what I meant. :D
Oh yeah, that is what I meant. :D
Forum: Solaris 07-31-2006
7,002
Posted By Mike_the_Man
You can use pkgrm to remove patches. You can...
You can use pkgrm to remove patches.
You can see all your patches you applied by running ls -lart /var/sadm/patch. Make sure you remove them in the reverse order.
3,293
Posted By Mike_the_Man
testSSH() { ssh -1 infra@dev1cas ls & } ...
testSSH()
{
ssh -1 infra@dev1cas ls &
}
PARENT=$$
echo $PARENT
eval `testSSH` &
sleep 4s
SSHID=`ps | grep $PARENT|grep ssh|awk {'print $2'}`
echo $SSHID
kill -9 $SSHID
testSSH
sleep 2s...
1,636
Posted By Mike_the_Man
What I do when I have cron issues: 1. Make...
What I do when I have cron issues:

1. Make sure the cron process is running
2. Does the user have any mail that has the output of the script in it?
3. Try to run the script manually
4. ...
Forum: Solaris 07-28-2006
5,595
Posted By Mike_the_Man
Domain configuration is performed on the main...
Domain configuration is performed on the main SSP. Are you trying to create a domain or change what boards are in a domain?
If you are trying to create a domain, you can check out Creating E10K...
12,471
Posted By Mike_the_Man
On Solaris, the PID is the second column from the...
On Solaris, the PID is the second column from the ps -ef output. You can do a man on ps to verify it is the process id.
12,471
Posted By Mike_the_Man
The Process ID. I usually use the command who to...
The Process ID. I usually use the command who to find see what terminal my other user is logged in on and then do a ps and grep for that terminal. Then you can kill the user's shell.

who
ps...
12,471
Posted By Mike_the_Man
You can kill the pid that corresponds to the...
You can kill the pid that corresponds to the shell that the hung ID is using.
1,961
Posted By Mike_the_Man
ksh - comma seperate input
What is a good way to iterate through a variable that has values seperated by a comma?
I thought about converting the commas to spaces, but that sounds inefficent to me. I am using KSH for my shell...
5,969
Posted By Mike_the_Man
Can you do it based upon modification time...
Can you do it based upon modification time instead of filename?

The below will remove all files in <dir> that have not been modified in the past 14 days.
find <dir> -mtime +14 -exec rm -f {} \;
2,249
Posted By Mike_the_Man
sed in a script
I am trying to run a sed command within a script to edit a file.

I am trying to put the value of MYUSER into the sshd_config file.
Instead of putting the value of the variable, MYUSER, it puts in...
2,365
Posted By Mike_the_Man
ssh <remotehost> '<remote script>' MYVAR=`echo...
ssh <remotehost> '<remote script>'
MYVAR=`echo $?` (back single quotes)
Showing results 1 to 16 of 16

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