Re: Scripting/Information Help

From: Aaron W Morris (aaronmorris_at_MINDSPRING.COM)
Date: 03/26/04

  • Next message: JOSEPH KREMBLAS: "Re: alt_disk_install question"
    Date:         Fri, 26 Mar 2004 17:22:23 -0500
    To: aix-l@Princeton.EDU
    
    
    

    terry.german@PHONES4U.CO.UK wrote:
    > Guru's,
    >
    > As I am not a wizz on scripting I was just wondering if anyone out there can
    > help me.
    >
    > I want to find out which users on our M80 running AIX 4.3.3 have not
    > accessed there id for the last 6 months?
    >
    > If anyone could help it would be great...
    >
    > Thanks
    >
    > Terry German

    I wrote a script specifically for this purpose several years ago. I
    wrote different pieces at varying levels of knowledge of perl, so I the
    code might not look great. I wrote it for AIX 4.3, and I know it runs
    on AIX 5.1 as well (not sure about 5.2).

    It takes an unlimited number of parameters and gives you a separated
    list of users that have not logged in since the given time periods....

    ie. lastlogin.pl 8h 3d 9w 6m 4y

    would give you 5 lists (with no duplicates) of users that have not
    logged in within
    8 hours
    3 days
    9 weeks
    6 months
    4 years

    --
    Aaron W Morris <aaronmorris@mindspring.com> (decep)
    
    



  • Next message: JOSEPH KREMBLAS: "Re: alt_disk_install question"

    Relevant Pages

    • Re: ie6sp1 : Repair Function Blocked - Anyone know of a fix?
      ... in the System Administration Scripting Guide. ... If NTx open a command window and enter: ... you would have two lists called versions.txt, ... "Fix/work around" - clean ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Re: ie6sp1 : Repair Function Blocked - Anyone know of a fix?
      ... Robert Aldwinckle wrote: ... > in the System Administration Scripting Guide. ... The lists would be ... > jumping in with a scripting alternative: msinfo32. ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Re: Import user text file to Exch2K
      ... > CSVDE may be the best way for you to go if scripting is of no use. ... > CSVDE is about the same as it is in Exchange 5.5 if you've seen that. ... The displayName attribute contains the display name of ... lists that the object is a member of. ...
      (microsoft.public.exchange.admin)
    • Re: Block and move text in a .txt file?
      ... As far as scripting a winbatch app with vbs, ... Scripters here tend to use IE instead of windows forms for a graphical ... Since these lists are of the type Winbatch terms ItemList the files can be moved back and forth between lists essentially adding and removing them as the user sees fit. ...
      (microsoft.public.scripting.vbscript)
    • Re: Task Manager Apllications list
      ... > Here is two free command line utilities you can e.g. run from a network ... > CMDOW Commandline Window Utility (with /T: List only the windows shown ... > Enum.exe in the Command Line Tools, lists all visible ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
      (microsoft.public.scripting.vbscript)