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

    Helping Oneself

    This probably will not be a well received thread and probably will offend some who will want it removed. That said, on to my topic. What has happened that people can no longer help themselves? There are PLENTY of resources available; bookstores, libraries, the Internet. You can find an answer...
  2. AIXSPadmin

    Pointers Ques #2

    Regarding pointers, what does the representation mean with two asterisks, such as: char **s
  3. AIXSPadmin

    Pointers

    Just for my own knowledge and something I wonder about is an explanation of the use of pointers used differently as shown: const struct stack * const char *s struct record* prec Could someone please explain all three, I am only used to using the second one in the brief uses of C that I use...
  4. AIXSPadmin

    sudo

    How do you configure the /etc/sudoers file to allow a user to run `kill -3` but not allow a `kill -9`? Thanks
  5. AIXSPadmin

    Kind of amazing

    As I have stated before, I work for a Fortune 500 company, and it must be the same at any large corporation. What I mean is that everything is so departmentalized. I am an AIX Sys Admin and if networking needs to be done, it goes to datacomm, if users need something it goes to IS Security. Even...
  6. AIXSPadmin

    Perl daemon

    Why is this not running as a daemon? It works for another script I wrote, but it does a system call to a shell script, but this is not running the dsmadmc command continuously. Any ideas? Thanks. #!/usr/bin/perl # load required modules use strict; use POSIX qw(setsid); use POSIX qw(strftime)...
  7. AIXSPadmin

    Multidimensional arrays

    Everyone here is helpful in pointing me in the correct direction with help in C coding since I am not an expert in this area, and 99% of what I do can be done in shell. However, I have something else that I am thinking needs multi-dimensional arrays since it involves a table. What I intend is...
  8. AIXSPadmin

    Remove new line character

    Below is some of the code in my small program. The problem is when trying to do a remove() or unlink() it errors out and does not remove the file. The problem is when I try to print the argument as say, "xxx /path/file xxx" it is doing: "xxx /path/file xxx" And a strlen()...
  9. AIXSPadmin

    Getting list of files into array

    My knowledge of C is limited and for the task I am trying to do I cannot use Korn shell. Given that, how would I get a list of files into an array and print them to the screen and give the user a choice of which one to choose to delete. Example: If there was a core file in /home /tmp...
  10. AIXSPadmin

    Filtering

    I have been asked if there is a way to remove a line before it is sent. There is an application which is generating a text message and there is a string in the text which needs to be removed before the mail is sent. I am sure it can be setup with procmail or another filtering agent but am not...
  11. AIXSPadmin

    Interesting Article

    In the Sunday paper today there was a half-page article about IT professionals starting new careers after being laid off their IT jobs. Some individuals had been laid off twice in 1 year and they left IT altogether as have others. One man had a wife and toddler to support and had contacted 150...
  12. AIXSPadmin

    Merry Christmas and Happy New Year

    May a safe, peaceful and joyous Holiday be with you all.
  13. AIXSPadmin

    Silent install

    Has anyone ever done a WebSphere v3.5 silent install on AIX? And if so, how did you change the install.script file and how did you keep it from trying to execute a GUI display?
  14. AIXSPadmin

    ksh93 math library functions

    Has anyone used ksh93 to access the math library functions (math.h) such as, tangent, sine, cosine..., and give an example of how to do it. The documentation on the kornshell.com website says that it you can do this, but has no examples of how to do it. Below it mentions typeset -F but again...
  15. AIXSPadmin

    Pattern matching

    Back to something that ksh isn't really suited for. I am trying to match any number of string occurrences in a 200,000+ line file and one the line matching the string is found, print the matching line plus the next 16 lines. There can be multiple string matches in the file. I was wondering if...
  16. AIXSPadmin

    Getting lines

    I always use korn shell in my job, however, there is a file that is 200,000+ lines, and needless to say I need speed because it runs for too long in ksh. What is needed is finding a line that matches a string and then print out that line plus the next 16 lines after the match. There could be...
  17. AIXSPadmin

    Single edition error

    Has anyone had the following error, and how was it corrected. /install.sh Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/java130/jre/bin/libfontmanager.a: A file or directory in the path name does not exist. at java.lang.ClassLoader$NativeLibrary.load(Native...
  18. AIXSPadmin

    Transition

    What does anyone think of the possibilities of moving from an AIX system admin to becoming a software engineer? I have been working as an admin on AIX and SP complex for 7 years and am considering becoming a software engineer. What are the chances? Also, what about the salary considerations...
  19. AIXSPadmin

    Not checking Day variable

    I am wondering why the following script is not checking the DayOfWeek variable that is set. Korn shell is my preferred method of scripting, but cannot use it in this case. The script is running and doing as needed, with the exception that it runs daily instead of only Monday (should the GetDoW...
  20. AIXSPadmin

    Creating Daemon

    I am having a problem with cron jobs running for this particular job, therefore I want to create a daemon in perl to run the job, and it works, until I try passing day_of_week, hour, and min in the "if" statement. It works with just dow and hour and prints the message and sleeps. I...

Part and Inventory Search

Back
Top