Do someone know how to delete entry(some lines)
in file "wtmpx" that command "last" use it.
this file is binary so I cannot edit directy.
=========================
#last
root pts/1 noc Fri Mar 3 22:04 still logged in
root pts/1 noc Fri Mar 3 22:01 - 22:02 ... (4 Replies)
Hi,
we are running solaris 9 on V280R. Due to power failure, one disk's label and lost its details like drive type etc.
Disk details:
<SUN72G cyl 14087 alt 2 hd 24 sec 424>
single partition on slice 6 with UFS.
The below i see when i run "format" command
.....
.....
4.... (1 Reply)
Hello group,
How can I separate "named daemon" messages to the other file instead of /var/adm/messages. I still want all other daemons log the messages to /var/adm/messages.
i.e.
named => /var/adm/named.message
other daemons => /var/adm/messages.
I searched unix.com, and google but I still... (5 Replies)
Hi guys,
I am still kinda new to Linux.
Script template I found on the net and adapted for our environment:
#!/bin/sh
#set -x
ADMIN="admin@mydomain.com"
ALERT=10
df -H | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output;
do
#echo $output
... (2 Replies)
Hi,
I want to update managed system firmware using HMC.
The easiest way to me is to download firmware directly to HMC hard disk. Question:
Where shoud I put downloaded firmware in HMC hard disk ? - selection says "Hard disk" - no path no anything.
thanks
Vilius M. (0 Replies)
HP rp5450 (L2000)
running HP-UX 11.11B
Using DLT 7000 and DLT 4000 tape drives for nightly full backups
Backup jobs created by SAM
DLT 7000 cron entry is as follows:
00 2 * * 1-6 /usr/sam/lbin/br_backup DLT FULL Y /dev/rmt/0m /var/sam/graphLCAa17036 root Y 1 N > /var/sam/SAM_br_msgs 2>&1... (1 Reply)
Below is the error being repeated on my Solaris 9 Sun-Fire-V890 machine.
SAN team confirmed as everything is fine from their end. I did google and found that some people say its a known Oracle bug when you have Oracle 10G installed on your system but I kind of disagree with them. Please see below... (2 Replies)
Hi All,
I am a RH Linux admin that recently started working at a company with a number of SUN Servers so it's been an interesting transition.
Considering the last person left with very little documentation left behind so I have been picking up most issues half complete, or troubleshot.
... (7 Replies)
AVAILABLE DISK SELECTIONS:
0. c2t500000E01D2DDCE0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/scsi_vhci/disk@g500000e01d2ddce0
1. c2t500000E01D2DED70d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/scsi_vhci/disk@g500000e01d2ded70
2.... (12 Replies)
Hi just want to ask if anyone has encounter this error?
bash-3.2# echo | format
Searching for disks...Mar 28 14:03:31 server1 scsi: WARNING: /pci@340/pci@1/pci@0/pci@7/SUNW,qlc@0,1/fp@0,0/ssd@w5006016408607763,0 (ssd3):
Mar 28 14:03:31 server1 drive offline
Mar 28 14:03:31 server1 scsi:... (1 Reply)
Discussion started by: gob23g
1 Replies
LEARN ABOUT REDHAT
smartctl
SMARTCTL(8) System Manager's Manual SMARTCTL(8)NAME
smartctl - S.M.A.R.T. control utility
SYNOPSIS
smartctl [-cdeglostv] [device]
DESCRIPTION
smartctl controls the Self-Monitoring, Analysis and Reporting Technology System(S.M.A.R.T.) built into ATA-3 and later IDE and SCSI-3 Hard
Drives. This is used to check the reliability of the hard drive and predict drive failures. TapeAlerts support for SCSI tape drives and
changers smartctl is command line utility designed to perform simple S.M.A.R.T. tasks.
OPTIONS
smartctl accepts two agruments, options and device in respective order. The options begin with a '-' and multiple options should be begun
with a single '-'. The second argument is the device to be controled. ATA device use the form "/dev/hd*" and SCSI devices use the form
"/dev/sd*". SCSI devices use only options a,i,c,e,d. For SCSI Tape Drives and Changers with TapeAlerts support use the form "/dev/st*" and
"/dev/sg*". TapeAlerts devices use only a,i,c,e,d.
i Check if the device supports S.M.A.R.T
c Check if device has any S.M.A.R.T. Warranty Failures
g Prints only the generic S.M.A.R.T. attributes
v Prints only the vendor specific S.M.A.R.T. attributes
t Prints only the vendor specific S.M.A.R.T. thresholds
l Prints only the S.M.A.R.T. error log
a Prints all parameters for c,i,g,v,t,l (for SCSI c,i)
e Enables S.M.A.R.T. on device
d Disables S.M.A.R.T. on device
t Enables S.M.A.R.T. automatic offline self test timer which scans the drive every four hours for disk defects.
T Disables S.M.A.R.T. automatic offline self test timer
O Runs S.M.A.R.T. Immediate off-line Test
S Runs S.M.A.R.T. Short Self Test ( usually under ten minutes)
s Runs S.M.A.R.T. Short Self Test in Captive Mode.
( WARNING: This test will busy out drive for length of test. Only run this on drives without any mounted partitions.)
X Runs S.M.A.R.T. Extended Self Test ( tens of minutes)
x Runs S.M.A.R.T. Extended Self Test in Captive Mode. ( WARNING: This test will busy out drive for length of test. Only run this on
drives without any mounted partitions.)
A Aborts Non-Captive S.M.A.R.T. Tests.
EXAMPLES
smartctl -a /dev/hda - prints all S.M.A.R.T. infomration for drive /dev/hda (Primary Master)
smartctl -d /dev/hdd - disable S.M.A.R.T. on drive /dev/hdd (Secondary Slave)
AUTHOR
Michael Cornwell, cornwell@acm.org
Concurrent Systems Laboratory
Jack Baskin School of Engineering
University of California Santa Cruz
http://csl.cse.ucsc.edu/
smartctl-2.1 September 13, 2001 SMARTCTL(8)