Search Results

Search: Posts Made By: os2mac
Forum: Solaris 11-02-2017
2,639
Posted By RudiC
As Don Cragun is offline, may I jump in? Reverse...
As Don Cragun is offline, may I jump in? Reverse the pipe commands' sequence:yes | pfexec beadm destroy -f solaris-13
Forum: Solaris 11-02-2017
2,639
Posted By Don Cragun
If a single prompt is issued, or if there are...
If a single prompt is issued, or if there are several prompts and they all require a "y" response, you can invoke it in a pipeline reading output from the yes utility.
Forum: Solaris 01-26-2017
3,757
Posted By jim mcnamara
os2mac is correct. For solaris 10 - you can...
os2mac is correct. For solaris 10 - you can create solaris 10 branded zones on a solaris 11 global zone. Not so with versions of 11, AFAIK.

If you truly need one machine to run 11.1, 11.2 and so...
2,804
Posted By Corona688
Many older versions of Solaris do not have GNU...
Many older versions of Solaris do not have GNU date available.

For systems without it, I've written this Perl script...
Forum: Solaris 04-06-2016
3,778
Posted By cjcox
Not terribly obfuscated: trap "echo...
Not terribly obfuscated:


trap "echo goodbye;sleep 10" 0 1 3 15
Forum: Solaris 12-11-2015
8,718
Posted By Peasant
Are you sure you are using cdrom image ? From...
Are you sure you are using cdrom image ?
From the output i see

cdrom /dev/dsk/c1t0d0s2
What you need is and iso image copied somewhere on the...
Forum: Solaris 09-30-2015
1,225
Posted By Corona688
rm ':q!'
rm ':q!'
Forum: Solaris 09-16-2015
43,454
Posted By jlliagre
You need to change your script shebang to use the...
You need to change your script shebang to use the "-p" option for the effective user id to be set:

$ cat /etc/release
Oracle Solaris 11.2 X86
Copyright (c) 1983,...
Forum: Solaris 09-16-2015
43,454
Posted By jlliagre
Wrong pathname in exec_attr ...
Wrong pathname in exec_attr ...
Forum: Solaris 08-25-2015
3,199
Posted By jim mcnamara
Yes. zonefcg to set autoboot to False for...
Yes.

zonefcg to set autoboot to False for each non-global zone.
Create a script that calls zoneadm to boot each zone.
#!/bin/bash
declare -a waits=( 10 20 10 ) # wait 10 20 and 10 seconds...
Forum: What is on Your Mind? 08-24-2015
3,910
Posted By jgt
Attitude and aptitude. Everything else you can...
Attitude and aptitude.
Everything else you can teach.
Most importantly, do you want to come back after two or three months and work as a highly paid consultant? :D
Forum: Solaris 06-19-2015
2,278
Posted By Peasant
Reverting storage snapshot on live filesystem is...
Reverting storage snapshot on live filesystem is not possible.
Or any snapshot as far as that goes.

You will need to export the zpool and then restore storage snapshot and import the zpool.
No...
Forum: Red Hat 06-05-2015
22,839
Posted By neutronscott
this bugzilla ticket looks relevant:...
this bugzilla ticket looks relevant: https://bugzilla.redhat.com/show_bug.cgi?id=1194155
Forum: Solaris 02-08-2015
3,106
Posted By bartus11
Take a look at newtask. ...
Take a look at newtask.
(http://docs.oracle.com/cd/E26502_01/html/E29030/newtask-1.html)
Forum: Solaris 02-12-2014
4,774
Posted By bartus11
You can try (didn't test it): zonecfg -z zone1...
You can try (didn't test it):
zonecfg -z zone1 "select capped-memory; set physical=16G; end"
17,688
Posted By Yoda
Enclose it in double quotes to preserve the blank...
Enclose it in double quotes to preserve the blank spaces:
for i in "${string[@]}"; do
1,450
Posted By Yoda
You could do something like below using a...
You could do something like below using a counter:
file=( 1.txt 2.txt 3.txt 4.txt )
dir=( one two three four )
c=0

for i in ${file[@]};
do
cp $i ${dir[$c]}
(( ++c ))
done
1,450
Posted By Yoda
It should work in Solaris. I tested using GNU...
It should work in Solaris. I tested using GNU bash, version 3.2.51(1)-release (sparc-sun-solaris2.10) and it works.
26,793
Posted By alister
os2mac: I applaud your desire to help...
os2mac:

I applaud your desire to help others, but, without exaggerating, your solution is utterly unfit for deployment.



Each iteration of that loop will consume approximately 5 seconds,...
26,793
Posted By ctsgnb
@os2mac First, as Scott said, you didn't...
@os2mac

First, as Scott said, you didn't mentionned your distro.

Then, i also mentionned this alternative in case people have it on their distro ... since your point was "sharing the...
26,793
Posted By Scott
You said that, but didn't mention what 'distro'...
You said that, but didn't mention what 'distro' you are on... ;)
26,793
Posted By ctsgnb
Yup ... and by the way, you can also just use the...
Yup ... and by the way, you can also just use the watch command instead:

man watch

(see -d option and -n option)
Showing results 1 to 22 of 22

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