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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ddrillich
  • Content: Threads
  • Order by date
  1. ddrillich

    Changing the format of the uptime output

    Hello, I'm on - SunOS badap10t 5.10 Generic_150400-68 sun4v sparc sun4v and I would like to convert the output of uptime - uptime 7:31pm up 62 day(s), 2:34, 1 user, load average: 10.61, 9.61, 9.77 To - Thursday, April 2, 2020 07:32:11 PM EDT SystemUpTime=xxxxx where xxxxx is the...
  2. ddrillich

    Checking a cluster of servers

    Good Day, I'm looking for a way to log in to, let's say, 20 Linux servers and perform a simple command on each, such as df –kh. All the servers have the same user name/password. Is there a simple way to do that? Regards, Dan
  3. ddrillich

    Removing lines based on multiple words

    Good Day, I would like to exclude lines that have the word SECTOR as well as the word DREFIELD. The following throws lines that have SECTOR but it mistakenly can remove lines with SECTOR that don't have DREFIELD - grep -v SECTOR < source.txt Regards, Dan
  4. ddrillich

    Restricted access

    Good Day, Let's say we have a certain user who owns a directory structure. I like to assign to a different user access to a certain directory within this directory structure and allow this user to read and write only. Is it possible? Regards, Dan
  5. ddrillich

    korn or bash shell

    Good Day, I run the following commands - $ bash $ echo $SHELL /bin/ksh Does it make sense? ; - ) Regards, Dan
  6. ddrillich

    Colors in vi

    Good Day, Is there a way to disable the 'cheerful' colors in vi? Regards, Dan
  7. ddrillich

    Capturing fleeting files

    Good Day, An application places files under a certain directory - /appl/spool/esas/IDOLServer10/IDOL/status, processes them and then deletes them. I think the files end up being in this directory for a very short time especially when the application rejects them. We would like to capture these...
  8. ddrillich

    Number of cpu cores

    Good Day, How can I find out the number of cpu cores on a Solaris server? \(ddril00\)\>uname -a SunOS phsupr62 5.9 Generic_118558-05 sun4u sparc SUNW,Sun-Fire-V240 Regards, Dan
  9. ddrillich

    Number of cpus on the server

    Good Day, I would like to know how many cpus run on this server. I ran the following - [ddril00@phcgpz26 dan]$ uname -a Linux xxxxxx 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux [ddril00@phcgpz26 dan]$ cat /proc/cpuinfo | grep processor processor : 0...
  10. ddrillich

    Privileges to run an ALTER TABLE command

    Good Day, I'm trying to run the following - ALTER TABLE xm_uds_deployrequest MODIFY scheduled_time DEFAULT SYSDATE Which privileges are needed on the DB and how can I find whether I have them? Regards, Dan
  11. ddrillich

    Set of tables – Creation and updates

    Good Day, I'm looking at six relatively small tables that I have no information about the way they are supposed to be updated. Can I find out when the rows got updated the last time? Regards, Dan
  12. ddrillich

    Trimming nohup.out files periodically

    Good Day, We end up having large nohup.out files in multiple places. Is there a way to dynamically (without stopping the services) trim these files? Regards, Dan
  13. ddrillich

    Difference between who am i &amp; whoami, part II

    Good Day, I didn't get what elgrandeperro said a couple of years ago at http://tek-tips.com/viewthread.cfm?qid=1565223. On a different server, I logged in as ddril00 and then did - sudo su - es00as Then I see the following - [es00as@slvgdv70 scripts]$ whoami es00as [es00as@slvgdv70...
  14. ddrillich

    sudo -s

    Good Day, I see the following - [ddril00@slvgdv70 dan]$ sudo -s Password: Sorry, user ddril00 is not allowed to execute '/bin/bash' as root on slvgdv70.safeway.com. What do you think can be done? I also see - [ddril00@slvgdv70 dan]$ uname -a Linux slvgdv70.safeway.com 2.6.18-164.el5 #1...
  15. ddrillich

    curl or wget

    Good Day, On this Sun Solaris server, neither curl nor wget seem to work - (ddril00)>uname -a SunOS slsudv48 5.9 Generic_122300-47 sun4u sparc SUNW,Sun-Fire-V240 [slsudv48]/export/home/ddril00/dan (ddril00)>curl sh: curl: not found [slsudv48]/export/home/ddril00/dan (ddril00)>wget sh: wget...
  16. ddrillich

    vi - Terminal too wide

    Good Day, I get an error - Terminal too wide. Any idea what it can be? \(ddril00\)\>echo $SHELL /bin/ksh slsudv48/appl/esas/IDOLServer/HTTPFetch \(ddril00\)\>uname -a SunOS slsudv48 5.9 Generic_122300-47 sun4u sparc SUNW,Sun-Fire-V240 slsudv48/appl/esas/IDOLServer/HTTPFetch \(ddril00\)\>vi...
  17. ddrillich

    Backspace key which produces ^?

    Good Day, When pressing the backspace key, ^? is displayed. What can I do to get the expected behavior? Regards, Dan
  18. ddrillich

    SQL handling of no results

    Good Day, We have the following SQL command - SELECT DISTINCT COMPANY_USERID_DISPLAYNAME."DISPLAYNAME" AS COMPANY_USERID_DISPLAYNAME_DISPL, COMPANY_USERID_DISPLAYNAME."USERID" AS COMPANY_USERID_DISPLAYNAME_USERI, EVENTSSUMMARY."USERID" AS EVENTSSUMMARY_USERID...
  19. ddrillich

    Formatting of dates subtraction

    Good Day, We are trying to format the max - min value (is it a date?) into minutes and seconds. How can we do it? The following fails... select to_char(to_date(max - min), 'DD:MM') from (select min(timestamp) min, max(timestamp) max from wfeventssummary where workflowid = '12232' and...
  20. ddrillich

    Setting an environment variable

    Good Day, I did the following - autonomy @ sbkj2ksrchtxtf03 :: /opt/autonomy/scripts ! % ==> echo $SHELL /bin/bash autonomy @ sbkj2ksrchtxtf03 :: /opt/autonomy/scripts ! % ==> export GDFONTPATH=/usr/java/jdk1.5.0_14/jre/lib/fonts/LucidaTypewriterRegular.ttf autonomy @ sbkj2ksrchtxtf03 ...

Part and Inventory Search

Back
Top