Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by 11011110000

  1. 11011110000

    plz help w/ job decision

    Using your numbers when it is "booming" you earn $650/week. If you worked 52 weeks of the year: 650 * 52 = 33,800. Yet, you claim a low week of $177. Your stated weekly average for the year is $350-400/week. For 52 weeks that is: 350 * 52 = 18,200 OR For 52 weeks that is: 400 * 52 =...
  2. 11011110000

    Guru status?

    So who gave them
  3. 11011110000

    How to get HBA statistics on Aix?

    I just assumed they were using EMC. (possibly a bad assumption)
  4. 11011110000

    How to get HBA statistics on Aix?

    Why not use EMC OE/Control Center?
  5. 11011110000

    Guru status?

    I went to St. John's College in Maryland (not to be confused with the renowned St. John's University) at http://www.sjca.edu . This is a four-year liberal arts college with a non-traditional curriculum. U.S. News "America's Best Colleges" survey ranks them as: Liberal Arts Colleges, third...
  6. 11011110000

    Guru status?

    Is this from the same cloth as the SEE (Success Equals Effort) program? In the SEE program a students can still pass a class even if they don't get any of the work correct; as long as they 'try,' the effort part. Of course, as the student becomes an upperclassman the ratio is inverted, but as...
  7. 11011110000

    Sum up numbers in a file?

    If you are not using whole numbers, I would suggest using ksh93. #!/usr/dt/bin/dtksh float i=0 while read line do float a=$line ((i+=a)) done < x print $i If your numbers file contained: 1.23 2.374 3.833 4.435 5.34477 6.0432573 7 8.2 9 10.26262624
  8. 11011110000

    Sum up numbers in a file?

    #!/bin/ksh i=0 while read line do ((i+=line)) done < x print $i where x is the file that contains the numbers: 1 2 3 4 5 6 7 8 9 10
  9. 11011110000

    Using sprintf

    Thank you both.
  10. 11011110000

    Getting Process Start Time

    Using ps -fu will return the starting time of a process. But what if the process has been running for days like shown below? UID PID PPID C STIME TTY TIME CMD oracle 28649 1 0 Sep 01 ? 14:51 ora_pmon_pccs oracle 3056 1 0 Sep 02 ? 15:16...
  11. 11011110000

    How do I stop being overwhelmed?

    Welcome to working for a small company where you do everything. I did that for over 4 years and learned more than I could have hoped. Training there was non-existent, too, because they were/are not a large company. Sometimes, though, I wish I could go back there, after having been gone for...
  12. 11011110000

    Using sprintf

    This is on Solaris.
  13. 11011110000

    Using sprintf

    Thank you Columb, that worked. Can you explain why my uid statement isn't working? I only want it to run as that uid and any other uid it exits. Thanks. int uid; uid = getuid(); if( uid = 273 ) { setuid(0); setgid(0); . ...
  14. 11011110000

    Using sprintf

    Okay, I found an example and I got it to work, however, how does _chmod help for changing the owner? and does it work with changing multiple files (i.e., using *)? Thanks.
  15. 11011110000

    Using sprintf

    Perhaps you didn't read that I am not exprienced in C programming. And since I cannot find anything on google and there isn't a man page for _chmod, it doesn't even begin to help.

Part and Inventory Search

Back
Top