Tagged Questions
0
votes
0answers
17 views
Can not delete folder with svn control files created by other user
this problem happened on a SunOS
I (not root user) want to delete a folder "def"(contains sub folder and files) created by other user, I have the full control of "def"'s parent folder(say "abc"), but ...
0
votes
3answers
33 views
How to tar/zip a parent directory exculding a child direcory
I want tar a direcory which contains a number of child directories. But here my requirement is to tar the entire parent direcory excuding one child directory.
Is there any command or procedure for ...
0
votes
1answer
30 views
finger and who command usage
I know that the finger command used to display information about local and remote users.
finger --> display users log in on local machine, even if remotely.
finger @hostname --> display users log in ...
0
votes
1answer
47 views
Force Solaris 10 reinstall on SPARC T4
New job, new environment...
I'm picking up for someone who has "moved on to other projects." One of the last things he worked on was installing Solaris 11 on a Sun SPARC T4-2.
Solaris 11 was further ...
0
votes
0answers
38 views
VMware workstation 8 guest auto-fit no longer works for Solaris 10 U11
Has anybody else noticed this problem? Guest screen auto-fit has been working for a long while but with the latest Solaris 10 upgarde, it no longer works.
Has anyone got a workaround?
2
votes
3answers
108 views
How to extract bytes from the middle of a file?
We are parsing some large EDI files that do not contain CR/LF. However, they do have ~ (tilde) as a segment delimiter.
I am trying to extract the control record for the file and the last bytes of my ...
3
votes
2answers
163 views
Opposite of tail: all lines except the last n lines
How can I discard the last n lines of a file with a unix command line filter?
That would be sort of the opposite of tail: tail discards the first n lines but pipes the rest through, but I want the ...
0
votes
1answer
49 views
Can i recall an email I sent using sendmail on Solaris?
The option to recall a message seems to be only available on MS Office Outlook.
Has anyone tried recalling a message sent by sendmail ?
0
votes
3answers
51 views
Execution of the command of ssh with open/root/.ssh/id_dsa failed error: Permission denied
Working it agrees http://www.ibm.com/developerworks/ru/library/l-hadoop-1/ at first I entered into the user of hadoop by means of a command
root@one: /volumes# su hadoop
The invitation was as a ...
0
votes
2answers
177 views
xargs and cp: find-style “{}+” multiple expansion?
I'd like to copy a group of files to destination folder. But without needing to spawn a new instance of cp for each operation.
The arg format for cp seems to be:
cp src_file1 src_file2 src_file3 ...
0
votes
0answers
8 views
recover deleted files from solaris machine [duplicate]
Possible Duplicate:
Undo an “rm -rf ~” command?
By mistake i removed my files from solaris machine.
i ran rm -rf command in my root folder
rm -rf
It deleted folders
/bin, /dev etc..
...
0
votes
2answers
173 views
command to show number of processors in UNIX
I want to check the number of processors using by a particular process in unix solaris. Which command we can use for that?
Thanks,
D.
2
votes
2answers
281 views
How do I find out which process is causing high CPU usage?
I have a strange issue happening on my Solaris virtual machine: After it is booted and up for 1-2 hours, the CPU usage will go up to 100% for 5 seconds, then down to normal for another 5 seconds, and ...
0
votes
4answers
294 views
Does tar preserve links? [duplicate]
Possible Duplicate:
How can I tar ball a directory hierarchy with soft links in linux
I am using tar to copy files and directories from a Solaris machine to a Linux machine.
Does Tar ...
0
votes
0answers
81 views
Why is my Solaris virtual machine doing this? (100% CPU usage at regular interval)
This is a clean installation of Solaris 11 X86 in the latest Virtualbox, running on Windows 7 host.
I am downloading some files in the Solaris virtual machine, and all suddenly, this happens:
I ...
0
votes
1answer
75 views
Python by default on all unix systems? [closed]
There was a discussion on which language to choose for a system checker. The system checker is supposed to be a script running on unix systems.
On Gnu/Linux systems seem to always have it installed ...
5
votes
1answer
71 views
How to let `man` utility to use `less` to display manual rather than `more`?
I've this Solaris 10 installation and it uses more to display manual content. Is there a way to make it using less to display manual? because more is really not convenient to use.
Thank you.
0
votes
2answers
717 views
UNIX command to test for fan status
anyone know the commands(s) for checking the hardware status of the machine, I'm trying to see if there are issues with the processor fans.
0
votes
1answer
206 views
How to uninstall software package in single user mode in Solaris 11
I accidentally installed a software package which keeps my Solaris from booting up. Upon entering single user mode, I ran:
pkg uninstall system/install/media/internal
However, it fails and says ...
0
votes
1answer
300 views
Which office software is available for Solaris 11?
I am thinking of moving my software dev environment to Solaris 11. Which office software is available for Solaris 11? I would prefer a free one.
Thank you!
0
votes
0answers
123 views
Solaris 11 running in VirtualBox Windows 7 host causes Windows networking services to have exceesive high CPU usage
Software environment: Solaris 11 guest running on 8 virtual CPUs, all settings are reported optimal by VirtualBox. Windows 7 is 64-bit.
Windows reports high (> 8%) CPU usages by Network Location ...
0
votes
1answer
122 views
Remote CUPS Printing, Is It Possible?
I have a RHEL 6 server, and a Solaris 2.6 server. The RHEL 6 server is able to print to a network printer, which is a Laserjet 4014DN, using CUPS. I want to have the Solaris 2.6 server print to that ...
4
votes
2answers
913 views
Find and Move Files up One Level
I'm trying to search for files with a certain extension and then move all of them up one level in the folder hierarchy.
Basically I have something like
...
0
votes
1answer
251 views
Solaris + sorting file according to date and time by sort command
I have along list that created in /var/tmp/file.txt from some script (in Solaris machine) the following list have 4 fields
please advice how to sort the list according to the following TIMESTAMP ( by ...
0
votes
2answers
125 views
tar doubled the size of the directory
Under Solaris 10 I have directory called apps. I go into that directory and enter:
-bash-3.00# du -hs
7.2G .
Then I entered:
tar -cvf /var/run/apps.tar apps
The result:
-bash-3.00# ls -lad ...
0
votes
3answers
1k views
How can I determine if /tmp is a mounted NFS share?
How can I determine if /tmp is a mounted NFS share on Solaris?
The issue at hand stems from this SO question, where Jonathan Leffler commented that
...
If your /tmp file system is NFS mounted ...
1
vote
1answer
96 views
decode legacy crypt-ed file with mcrypt
I have an old file which I encrypted with old UNIX-style crypt on Solaris. (Yes, I know it's weak, but it was appropriate in this case.)
I now want to decrypt it but I am running Ubuntu which doesn't ...
1
vote
1answer
316 views
solaris + egrep command syntax not work
my target is to match snmpmanager string from /etc/hosts file in Solaris machine
I don’t get any match output from the following command (but snmpmanager already defined in host file) why??
egrep ...
0
votes
2answers
267 views
How to foreground a job from another session
As root, is there a way to foreground (fg) a job within a root session that is in the foreground of another root session? If the job in the other session has to be put in the background (using bg) ...
1
vote
2answers
497 views
Why is Solaris big endian
... when Unix is little endian?
From Wikipedia, Solaris is based on Unix in some sense:
In 1987, AT&T and Sun announced that they were collaborating on a
project to merge the most popular ...
0
votes
1answer
400 views
What is Solaris top command “SIZE” column?
I have a node.js process running on a Solaris box. In the top command view, the "RES" column which I guess represents the physical memory is constant and reasonable. However the "SIZE" column keeps ...
1
vote
1answer
869 views
Unix command fuser not found
I am on SunOS 5.10. When I am trying to use the command fuser, I am getting an error that it's not found.
/home/user$fuser file.dat
ksh: fuser: not found
But I am able to get the man page entry ...
0
votes
1answer
1k views
How to debug ld.so.1: fatal: relocation error:?
Ive been messing around on a Solaris box, installing precompiled lib/programs from the repos by extracting them and placing them in my home dir.
It seems everything ive tried sofar works, except for ...
3
votes
2answers
392 views
Compiling and installing programs as non-root in home-dir?
I'm trying to compile programs under Solaris in my Home directory.
Ive had experience with simple installs which work with just
$> CD src
$> ./configure --prefix=/home/peter
$> make
...
2
votes
3answers
2k views
du vs df output
Why are there differences between the outputs of the df and du commands?
Why they are not accurate in output?
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 1012M 394M 567M 42% /
...
1
vote
1answer
181 views
lsof get traffic size with server
I have a server can I use lsof to find on a specific port the amount of traffic passed with servers? I used so far this in order to sort by highest size, but what info to i really get? how can I know ...
3
votes
5answers
1k views
grep -r not working on Solaris
How can I do recursive grep on Solaris?
When I tried, I received this error:
-r: invalid option.
0
votes
2answers
649 views
how to compare files/directories of 2 separate solaris boxes?
I have 2 solaris boxes and I need to check certain directories (on local filesystem and mounted nfs) to make sure that they match up on both boxes and to delete or move the other mismatches to ...
0
votes
2answers
312 views
Copying file from unix to network drive
Solaris is the os used. I want to copy files from UNIX Machine to windows network drive. I know smbclient,ftp can be used. But is there any other best option i can use?
0
votes
2answers
514 views
Why did the rm command behave like this and what damage would i have caused
Assume am in directory /home/userA
There is an environment variabe $XMLFILES that points to /u/xml/xmlfiles. The $XMLFILES environment variable is in userA's environment/profile
I log on as userA ...
2
votes
1answer
487 views
Switching between DVORAK and QWERTY via command line in Solaris 10
I'm looking for a quick way to switch between DVORAK and QWERTY layouts in Solaris 10. I'd like to be able to do it solely through the command line and rather quickly. I see I might be able to do ...
1
vote
2answers
48 views
Quantifying responsiveness in solaris machine
I am one of the n users of a shared unix machine. For reasons unknown, the machine is not "responsive" enough. For example, it is slow on interactive commands, it takes few noticeable moments for any ...
1
vote
1answer
236 views
Remove a module from initadd under Solaris
I accidentally added a non-existent module to my profile (or whatever it is you add it to) with
module initadd foo
and now every time I log on, I get an error message about foo not being found. How ...
0
votes
2answers
2k views
PS command ouput with fixed width for each column
I want to run command "/usr/ucb/ps auxww" on solaris to extract SZ and RSS values. For some processes these values are not showing and mixing with %MEM value as shown below.
USER PID %CPU %MEM ...
1
vote
4answers
1k views
ps -aefyl is not showing full command
I am trying to see full CMD value for command ps -aefyl but it is showing by truncating.
I am using SunOS Solaris 5.1.
Any clue?
1
vote
1answer
2k views
PS Command in Solaris
PS Command output is truncated in Solaris. I tried the below command after g
Googling out. It doesn't work. Not sure what needs to be done
/usr/ucb/ps awwx
0
votes
2answers
809 views
What is the best SVN GUI interface program for Sun Solaris UNIX?
I have SVN installed on another server and I want to access it on Solaris. Please give me idea how to do it? Is there any tools available?
0
votes
1answer
2k views
Rotate screen using xrandr on Solaris 10
How do I call the xrandr command? I want to rotate my screen 90 deg. clockwise. Here is the usage:
% xrandr -help
usage: xrandr [options]
where options are:
-display <display> or -d ...
1
vote
4answers
310 views
Solaris command to make noise
I would like to do something like this:
myCommand; commandToMakeNoise
myCommand runs for variable amounts of time and I would like to go and work on something else until it is done, but I would ...
0
votes
3answers
220 views
Solaris says my partition is using 100+ GB, but the partition looks empty. Where is the space being used?
I'm telnetting into a Solaris 5.9 box that's supposed to store our oracle database. I deleted the old version of the database, tried to move in the new version (the entire database is 90GB) but I ...