Quick dating
Custom Menu
  • preselection dating techniques
  • who is linda hogan currently dating
  • NEWS
    Even if you used to successfully online date, but have found yourself single again, it can be difficult to know exactly what sites you need to be surfing.


    Solaris wtmpx not updating

    Otherwise, you can go through a series of commands to backup the file manually and overwrite it with a clean one. Also make sure /usr/sbin/logadm is being run from your root crontab.

    This was likely the sequence used pre Solaris 9 days when logadm came into the picture.~# cd /var/adm/~# /usr/lib/acct/fwtmp I have Solaros 9 SPARC and lately I found that /var/adm/wtmpx is above 3G. Where should I look for settings to rotate /var/adm/wtmpx The /etc/does not contain any line about wtmpx. -Raymond Solaris Tip] Trim wtmpx fileby andy under Filesystem, Tips, UNIX Our root (/) partition is nearing 100% utilization and upon further investigation the wtmpx file is the main culprit.

    According to the man page, the date and time formats are controlled by locale. Is there something I can use that will change the display to include the "year" portion of the date?

    I'm hoping to get an output line similar to this: In which I half-provide context, half rant You're running into an example of the main reason I don't like managing Solaris systems: Nothing is ever just easy.

    We need to trim or flush this file but we need to have a backup of this file for audit purposes.

    Each of the topics will be described based on the accounting system available with Solaris® 2.6.# these lines get the first entry in $FILES WTMPFILE=`echo $FILES | cut -d: -f1` WTMPSIZE=`echo $FILES | sed 's/^[^:]*:\([^ ]*\).*$/

    Each of the topics will be described based on the accounting system available with Solaris® 2.6.

    # these lines get the first entry in $FILES WTMPFILE=`echo $FILES | cut -d: -f1` WTMPSIZE=`echo $FILES | sed 's/^[^:]*:\([^ ]*\).*$/\1/'` FILESIZE=`ls -l L $WDIR/$WTMPFILE | awk ''` # obtain thefilesize of w tmp # for later calculations NUMRECS=`expr $FILESIZE / $WTMPSIZE` # Store the size of the # utmp file, in records SKIP=$ # number of records to skip, based on # $KEEP vs. if [ $SKIP -le 0 ] then exit 1 # nothing to truncate fi for PAIR in $FILES # Pair of filename and block size do FILE=`echo $PAIR | cut -d: -f1` # extract filename IBS=`echo $PAIR | cut -d: -f2` # extract record size cp $WDIR/$FILE $TMPDIR/$FILE # copy original to tmp STATUS=$?

    case $STATUS in 0) ;; *) echo "cp error #$STATUS, bailing out during $FILE." &2 exit3 ;; esac done exit 0 *** thanks for your observation Pill!

    The only way I've ever found of doing this is to use might be kind of large, so you may want to go get a cup of coffee, maybe go check to see if your tires are underinflated, and maybe go read a book or two while you're at it.

    The Actual Answer to your question: This is a command that emulates Technically Works™ in the majority of use cases and they wouldn't have had to write a few extra lines of code. This is example output of the above on on of the systems I look after: [[email protected] root]# cat /var/adm/wtmpx | /usr/lib/acct/fwtmp | tac | head jadavis6 ts/1 pts/1 19410 7 0000 0000 1382723864 157168 0 19 ditirlns01edu Fri Oct 25 2013 jadavis6 sshd 19404 7 0000 0000 1382723864 133973 0 19 ditirlns01edu Fri Oct 25 2013 oracle sshd 6640 8 0000 0000 1382713401 157107 0 0 Fri Oct 25 2013 oracle ts/1 pts/1 6647 8 0000 0000 1382713401 150489 0 0 Fri Oct 25 2013 oracle ts/1 pts/1 6647 7 0000 0000 1382712445 24488 0 23 a0003040148735edu Fri Oct 25 2013 oracle sshd 6640 7 0000 0000 1382712442 304729 0 23 a0003040148735edu Fri Oct 25 2013 jadavis6 sshd 23537 8 0000 0000 1382560970 410725 0 0 Wed Oct 23 2013 jadavis6 ts/1 pts/1 23544 8 0000 0000 1382560970 404795 0 0 Wed Oct 23 2013 jadavis6 ts/1 pts/1 23544 7 0000 0000 1382552999 619524 0 19 ditirlns01edu Wed Oct 23 2013 jadavis6 sshd 23537 7 0000 0000 1382552999 602215 0 19 ditirlns01edu Wed Oct 23 2013 [[email protected] root]# EDIT: I know I'm whining about something small up there, but after a while I just get tired of every little thing (such as simply asking "what's the year?

    ||

    Each of the topics will be described based on the accounting system available with Solaris® 2.6.# these lines get the first entry in $FILES WTMPFILE=`echo $FILES | cut -d: -f1` WTMPSIZE=`echo $FILES | sed 's/^[^:]*:\([^ ]*\).*$/\1/'` FILESIZE=`ls -l L $WDIR/$WTMPFILE | awk ''` # obtain thefilesize of w tmp # for later calculations NUMRECS=`expr $FILESIZE / $WTMPSIZE` # Store the size of the # utmp file, in records SKIP=$ # number of records to skip, based on # $KEEP vs. if [ $SKIP -le 0 ] then exit 1 # nothing to truncate fi for PAIR in $FILES # Pair of filename and block size do FILE=`echo $PAIR | cut -d: -f1` # extract filename IBS=`echo $PAIR | cut -d: -f2` # extract record size cp $WDIR/$FILE $TMPDIR/$FILE # copy original to tmp STATUS=$?case $STATUS in 0) ;; *) echo "cp error #$STATUS, bailing out during $FILE." &2 exit3 ;; esac done exit 0 *** thanks for your observation Pill!The only way I've ever found of doing this is to use might be kind of large, so you may want to go get a cup of coffee, maybe go check to see if your tires are underinflated, and maybe go read a book or two while you're at it.The Actual Answer to your question: This is a command that emulates Technically Works™ in the majority of use cases and they wouldn't have had to write a few extra lines of code. This is example output of the above on on of the systems I look after: [[email protected] root]# cat /var/adm/wtmpx | /usr/lib/acct/fwtmp | tac | head jadavis6 ts/1 pts/1 19410 7 0000 0000 1382723864 157168 0 19 ditirlns01edu Fri Oct 25 2013 jadavis6 sshd 19404 7 0000 0000 1382723864 133973 0 19 ditirlns01edu Fri Oct 25 2013 oracle sshd 6640 8 0000 0000 1382713401 157107 0 0 Fri Oct 25 2013 oracle ts/1 pts/1 6647 8 0000 0000 1382713401 150489 0 0 Fri Oct 25 2013 oracle ts/1 pts/1 6647 7 0000 0000 1382712445 24488 0 23 a0003040148735edu Fri Oct 25 2013 oracle sshd 6640 7 0000 0000 1382712442 304729 0 23 a0003040148735edu Fri Oct 25 2013 jadavis6 sshd 23537 8 0000 0000 1382560970 410725 0 0 Wed Oct 23 2013 jadavis6 ts/1 pts/1 23544 8 0000 0000 1382560970 404795 0 0 Wed Oct 23 2013 jadavis6 ts/1 pts/1 23544 7 0000 0000 1382552999 619524 0 19 ditirlns01edu Wed Oct 23 2013 jadavis6 sshd 23537 7 0000 0000 1382552999 602215 0 19 ditirlns01edu Wed Oct 23 2013 [[email protected] root]# EDIT: I know I'm whining about something small up there, but after a while I just get tired of every little thing (such as simply asking "what's the year?

    /'` FILESIZE=`ls -l L $WDIR/$WTMPFILE | awk ''` # obtain thefilesize of w tmp # for later calculations NUMRECS=`expr $FILESIZE / $WTMPSIZE` # Store the size of the # utmp file, in records SKIP=$ # number of records to skip, based on # $KEEP vs. if [ $SKIP -le 0 ] then exit 1 # nothing to truncate fi for PAIR in $FILES # Pair of filename and block size do FILE=`echo $PAIR | cut -d: -f1` # extract filename IBS=`echo $PAIR | cut -d: -f2` # extract record size cp $WDIR/$FILE $TMPDIR/$FILE # copy original to tmp STATUS=$?case $STATUS in 0) ;; *) echo "cp error #$STATUS, bailing out during $FILE." &2 exit3 ;; esac done exit 0 *** thanks for your observation Pill!The only way I've ever found of doing this is to use might be kind of large, so you may want to go get a cup of coffee, maybe go check to see if your tires are underinflated, and maybe go read a book or two while you're at it.The Actual Answer to your question: This is a command that emulates Technically Works™ in the majority of use cases and they wouldn't have had to write a few extra lines of code. This is example output of the above on on of the systems I look after: [[email protected] root]# cat /var/adm/wtmpx | /usr/lib/acct/fwtmp | tac | head jadavis6 ts/1 pts/1 19410 7 0000 0000 1382723864 157168 0 19 ditirlns01edu Fri Oct 25 2013 jadavis6 sshd 19404 7 0000 0000 1382723864 133973 0 19 ditirlns01edu Fri Oct 25 2013 oracle sshd 6640 8 0000 0000 1382713401 157107 0 0 Fri Oct 25 2013 oracle ts/1 pts/1 6647 8 0000 0000 1382713401 150489 0 0 Fri Oct 25 2013 oracle ts/1 pts/1 6647 7 0000 0000 1382712445 24488 0 23 a0003040148735edu Fri Oct 25 2013 oracle sshd 6640 7 0000 0000 1382712442 304729 0 23 a0003040148735edu Fri Oct 25 2013 jadavis6 sshd 23537 8 0000 0000 1382560970 410725 0 0 Wed Oct 23 2013 jadavis6 ts/1 pts/1 23544 8 0000 0000 1382560970 404795 0 0 Wed Oct 23 2013 jadavis6 ts/1 pts/1 23544 7 0000 0000 1382552999 619524 0 19 ditirlns01edu Wed Oct 23 2013 jadavis6 sshd 23537 7 0000 0000 1382552999 602215 0 19 ditirlns01edu Wed Oct 23 2013 [[email protected] root]# EDIT: I know I'm whining about something small up there, but after a while I just get tired of every little thing (such as simply asking "what's the year?

    Leave a Reply

    1. website for dating in zimbabwe 18-Apr-2017 10:29

      Free online dating in Dublin for all ages and ethnicities, including seniors, White, Black women and Black men, Asian, Latino, Latina, and everyone else.

    2. Naughty girl camchat 20-Mar-2017 23:45

      And if you're looking for love in an online dating site you must be extra-careful, because looking for love already leaves you emotionally vulnerable, but you can't let that vulnerability bleed over into other realms as well. More than 90 percent of the potential dates on are canceled subscribers, people who never subscribed, duplicates, or phantoms the company created to snare its a month subscription fee, a class action claims in Federal Court.


    Pages: [1] 2 3 4 5 6 | Next | Last


    




    Copyright © 2017 - linford-soter.ru