Thanks all, for helping me ..
Bartuss11: how do i use wtmpfix command.. will it lead to server reboot or loss in the data which is there in wtmpx file.
I even checked the size of wtmpx file its 6M file..
You use it like this:
No reboot is required. If there is some problem with last command after this operation, you can simply restore the file from the backup copy:
hey, I'm trying to create the command that will create a file named user.txt that contains the output of the command cut -d: -f1,5 /etc/passwd, and displays itself afterwards.
I don't know how to bridge cat > user.txt with cut -d: -f1,5 /etc/passwd, or how display it afterwards. Any help would... (2 Replies)
Hi All,
can anyone tell me what is wrong with this command.
tail -f /opt/olr-logs/PaymentGateway.log | grep "DEBUG - Start! AkhtarPaymentGateway - generateChecksum" | awk '{print $13}' | sed 's/,//g'>> abc
But I found nothing in the file abc
Please do help me.or Provide me some... (8 Replies)
i am trying to find the files which are more than 100MB and it was created 10 days ago.
find /lola/loaded -size +102400 -mtime -10 -print | xargs ls -ltr
-rw-rw-r-- 1 lola_adm gdrmp 82054170 Jun 23 06:17 /lola/loaded/ILMEMBER20090622.txt
-rw-rw-r-- 1 lola_adm gdrmp 652080494 Jun 24... (3 Replies)
Hello,
I try to using the below command to find out all the datafiles under "sja"
direcotory.
$ xargs -i find {} -type f -ls < sja
/bin/ksh: sja: cannot open
so can you tell me what is wrong?
Thanks
Jerry (3 Replies)
Hello,
I'm having a problem with xbindkeys giving the wrong mapping information, hence I can't get it work at all when trying new mappings from this machine.
From another computer, I have some definitions for xbindkeys (made with xbindkeys-config). These key codes work correctly on this... (0 Replies)
I faced an interesting problem on my AIX servers. When I checked last logins with command last I saw that hostnames are wrong. Let say, I made login from workstation xxxxx and with the command last I saw:
root pts/2 yyyyy 5 jan 15:38 still logged in
Ping xxxxx and ping... (3 Replies)
Hi all,
I'm trying to run the following command to get all files in one directory to another with the files' timestamps preserved,
cp -p /logs/dvgbiau/batch/* /logs/dvgbiau/tmp_batch
Note that ./batch and ./tmp_batch are two sub-directories under /logs/dvgbiau.
The error was,... (1 Reply)
I use things like this a lot in ksh and bash, but lately bash has been printing the command for every loop:
... | while read f
do
if
then
echo Differ "$f"
fi
done
How to prevent this? (5 Replies)
I want to create a shell script to gather user account information and displays the result to administrator.
I have created a script but its showing all the information when i search for username like:
amit@mx:~$ ./uinfo.sh amit
Username : amit
User Info ... (2 Replies)
Discussion started by: amit1986
2 Replies
LEARN ABOUT SUNOS
cvcd
cvcd(1M) System Administration Commands cvcd(1M)NAME
cvcd - virtual console daemon
SYNOPSIS
/platform/platform_name/cvcd
DESCRIPTION
The virtual console daemon, cvcd, is a server process that supports the network console provided on some platforms. The cvcd daemon accepts
network console connections from a remote host (only one host at any given time). Console input is read from this connection and forwarded
to cvc(7D) by way of cvcredir(7D).
Similarly, console output is read from cvcredir(7D) and forwarded across the network console connection. If cvcd dies, console traffic is
automatically rerouted through an internal hardware interface.
The cvcd daemon normally starts at system boot time. Each domain supports only one cvcd process at a time.
Caution: On Sun Enterprise 10000 domains, cvcd uses a configuration file (/etc/ssphostname) to determine the name of the host from
which network console connections are allowed. If the remote console host is renamed, you must edit the configuration file
to reflect that change.
OPERANDS
The following operands are supported:
platform_name The official Sun platform name used in packaging and code. For example, for Sun Fire 15K servers, the platform_name
would be SUNW,Sun-Fire-15000.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |Sun Enterprise 10000 |
| |servers, Sun Fire High-End |
| |Systems |
+-----------------------------+-----------------------------+
|Availability |SUNWcvc.u |
+-----------------------------+-----------------------------+
SEE ALSO svcs(1), svcadm(1M), services(4), attributes(5), smf(5), cvc(7D), cvcredir(7D)
Sun Enterprise 10000 SSP Reference Manual
System Management Services (SMS) Reference Manual
NOTES
The cvcd service is managed by the service management facility, smf(5), under the service identifier:
svc:/system/cvc
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
SunOS 5.10 11 Aug 2004 cvcd(1M)