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: screwloose
  • Content: Threads
  • Order by date
  1. screwloose

    Calculating overhead for filesystems

    I need to know how to figure the overhead for filesystems in Solaris 9 using Disk Suite. For example, if someone says they need a 1GB filesystem and I create a slice on an EMC disk from slice a of 1GB, then they may have only 750MB of disk space. Or if someone wants a 1GB filesystem, then I...
  2. screwloose

    DOS batch file

    It has been way too long since I have worked with DOS batch files, however, I want to rename a directory if found to something else. The directory name to begin with has a space in it, such as, "market research" that needs to become "market_research" and how to search in multiple directories...
  3. screwloose

    Securing code

    How can I make the code below secure? Thanks. I am not a C programmer. *************** #include <stdio.h> #include <unistd.h> #include <string.h> #define MAXSTRING 100 #define LEN 80 char s[LEN]; char cmd[MAXSTRING]; main(int argc,char **argv) { setuid(0); setgid(0)...
  4. screwloose

    Mulitiple lines on one line and : delimited

    How do I print these lines so it is a single line with each path delimited by a colon (:)? /usr/j2se/jre/lib/sparc/libawt.so /usr/j2se/jre/lib/sparcv9/libawt.so /usr/java1.2/jre/lib/sparc/libawt.so /usr/openv/java/jre/lib/sparc/libawt.so /mnt/SunVTS_5.1_PS5/.install/JRE/jre/lib/sparc/libawt.so...
  5. screwloose

    memory stats using prstat and pmap

    Using ‘prstat –s size’ the RSS is 97M, however, using ‘pmap –xs <pid>’ the RSS is 121744kb. prstats “size” column reports 131M, and pmap reports 133664kb in the first column which is the shared processes totals. The second one (SIZE) is closer than the first one (RSS) .Why the difference...
  6. screwloose

    Memory usage stats

    Using ‘svmon’ in AIX I can get memory usage statistics like this: ------------------------------------------------------------------------------- Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 10478 maragent 16020 1789 183 5596 N Y...
  7. screwloose

    MAC address

    How do you get the MAC address on Solaris 9? On AIX I would use lscfg -vl <adapter>; what is the command on Solaris?
  8. screwloose

    Creating a parallel program

    Is there a way to use Perl to create a parallel command that would execute a program across multiple servers in parallel. I have spent 5 years on IBM’s SP2 system that has parallel commands that run on all servers simultaneously and precludes one from having to log into each system to run a...
  9. screwloose

    Inserting blank lines

    Using either sed or awk, if I have a file that contains: Jul 23 08:23:45 saturn Jul 23 08:24:45 saturn Jul 23 08:23:46 neptune Jul 23 08:21:47 mercury Jul 23 08:23:45 venus Jul 23 08:32:45 venus Jul 23 08:33:45 pluto Jul 23 08:23:45 jupiter Jul 23 08:23:45 jupiter Jul 23 08:23:45 jupiter And I...
  10. screwloose

    TSM increase tape mounts

    I posted this in the TSM forum, but am not sure of activity there, so I am posting here to. I am getting a TSM return code of ANS0326E which says "All the tape mount points for this node are in use," and to resolve it says, "Increase the number of allowed tape mounts for this node on the...
  11. screwloose

    Increase number of tape mounts

    I am getting a TSM return code of ANS0326E which says "All the tape mount points for this node are in use," and to resolve it says, "Increase the number of allowed tape mounts for this node on the server." How do I do this? Thanks.
  12. screwloose

    Oracle shutdown

    My Oracle databases on Solaris 9 are not coming down cleanly. If I execute the script manually it stops the databases, but if it runs as part of a reboot, it executes the script but isn’t shutting down the databases before the server shuts down. In the /sbin/rc6 script it does a killall, but...
  13. screwloose

    Adding EMC DASD

    Say some DBA's come over and say they need 100GB of disk, which of course has to be added. On AIX all I have to do is run cfgmgr and the disk is seen, no rebooting. So far it seems that on Solaris 9, we have to reboot. Is there a way to do this without requiring a reboot of the Solaris...
  14. screwloose

    crontab -e

    This is what I get when using crontab -e : root:/etc/default> crontab -e 477 [blank line for cursor] Why? This is Solaris 9 and it occurs with either /bin/ksh or /sbin/sh. Have tried using TERM equal to ansi, vt100, and wyse75. Thanks.
  15. screwloose

    Append text to end of lines in a file from another file

    File 1: ce0: 192.168.1.100 bge0: 192.168.1.101 bge1: 192.168.3.204 File 2: Saturn-db 192.168.9.230 Neptune-db 192.168.1.100 Pluto-mgt 192.168.1.101 Venus-db 192.168.2.222 Mars-mgt 192.168.3.204 What I want: ce0: 192.168.1.100 Saturn-db bge0: 192.168.1.101 Pluto-mgt bge1: 192.168.3.204 Mars-mgt...
  16. screwloose

    Insert text at beginning of line

    host=saturn lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 host=neptune lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 Given the above, how do I insert...
  17. screwloose

    formatting input on different lines

    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 Given the above line from ifconfig, how do I get it so it prints like this (there are multiple adapters (6) in the server, too, besides the loopback, that need formatted): lo0...
  18. screwloose

    inetd.conf ftp

    What is the -a argument to ftp in inetd.conf for?
  19. screwloose

    distributed shell or parallel commands

    On my SP complex I can use the distributed shell (dsh), parallel commands (pcp), and also use SP commands (splstdata) to retrieve information from all hosts in the complex, e.g., all IP's for all ethernet adapters. Is there a similar tool for Solaris? I have about 50 Solaris servers and I...
  20. screwloose

    Sendmail

    On my Solaris servers there are two Sendmail processes, and one of them is owned by smmsp: root 273 1 0 Jun 10 ? 0:00 /usr/lib/sendmail –bd -q15m smmsp 274 1 0 Jun 10 ? 0:00 /usr/lib/sendmail –Ac -q15m Why are there two processes and who/what is smmsp? Thanks.

Part and Inventory Search

Back
Top