858 reputation
9
bio website
location
age
visits member for 6 months
seen 1 hour ago
stats profile views 39

For several years I performed maintenance in Solaris systems and some administration for Linux.

Most of my know how is about Solaris 9 and 10 including the Cluster Framework.

I'm still quite involved with Solaris and the Sparc.


1d
comment Prevent Java to escalate CPU usage on Slackware64?
java in itself if not the one to blame. What is the associated program that is using it? For instance, if you are using JBOSS it will be a java process, glassfish as well and for you to know which one you need to see the full argument list. Have you tried to see what is the associated program?
Jun
13
answered Grep and sort several unsorted things in several lines (in one document)
Jun
12
comment Having Virtualbox disk images on /opt
Exactly so you would have 755 root/root for /opt and 700 user/user_group for /opt/vm. I believe this should work out if I understood correctly what you need. and the VM would only be readable by you
Jun
12
comment Having Virtualbox disk images on /opt
If you want to partition like that, why don't you have a partition and have it mounted under /home/<user>/vm for instance? On the other hand, you can create the folder under /opt and assign the user and group to your own user so only you have access to it (assuming the system is not shareable)
Jun
11
comment How do I change currently selected keyboard layout from command line?
let make a step back here, from command line I'm assuming that you are mentioning a tty terminal. Meaning that you are not using xterm/terminology/gnome-terminal or any other emulator but in fact you are in a environment without X server. Taking this then you need to use loadkeys, as per your question, I gave you the command line, what you actually want seems to be a key shortcut. If you have specific keys to be mapped, then you need to create your own layouts and load then on a request with load keys from a cli point of view. If you want a shortcut instead, then update your question.
Jun
11
comment How do I change currently selected keyboard layout from command line?
as far as I know this is the command to change layouts, if you have a specific, then I guess the best way would be to have an alias in your shell that would call the loadkeys with yout settings. ex: load_us would load the us keyboard and actually would be calling the loadkey /lib/kbd/keymaps/i386/qwerty/us.map.gz or similar. And the same for the other layout.
Jun
11
answered How do I change currently selected keyboard layout from command line?
Jun
10
comment Why `host` and `nslookup` on Solaris 10 resolves hostnames while `ping` and `telnet` does not?
Ideally you should copy /etc/nsswitch.dns over to /etc/nsswitch.conf, this is the normal and documented way to set up your system to use DNS, among creating the /etc/resolv.conf
Jun
10
answered How to mount the CD-ROM on Solaris 10?
Jun
10
comment Bash way to check if a process is already running in the background (and skip re-execution based on that)?
Why don't you use a "lock" file, and when you launch the second time, it will only launch when the lock file disappears.
Jun
6
comment sh and grep numbers only
Thanks a lot for the explanation!! :)
Jun
5
comment sh and grep numbers only
it wouldn't work well, I tried with egrep and no luck, but the solution provided by slm works like a charm :)
Jun
5
comment sh and grep numbers only
so I guess that bash interprets the ^ while when using sh it is up to grep, correct? and thanks a lot.
Jun
5
accepted sh and grep numbers only
Jun
5
asked sh and grep numbers only
Jun
5
revised Delete lines containing repeated text
added 83 characters in body
Jun
4
comment Delete lines containing repeated text
I was not aware it could be that simple. :/
Jun
4
answered Delete lines containing repeated text
Jun
3
comment incorrect lines display in ssh console
although I am not sure, when you connect by ssh what kind of terminal do you have? I'm using TERM=xterm when connecting by ssh and I don't see that problem
Jun
3
revised Solaris: Script for finding the physical device path of all installed fiber cards
semantics and spelling corrections