Unix Technical Forum

flush command on AIX 4.3

This is a discussion on flush command on AIX 4.3 within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi I have program flush in /usr/local/bin and i don't know what is it maybe something like sync command ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 07:55 PM
Jarosław Kolasiński
 
Posts: n/a
Default flush command on AIX 4.3

Hi
I have program flush in /usr/local/bin and i don't know what is it
maybe something like sync command ?
please advice and thanks


JK


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 07:56 PM
Mark Taylor
 
Posts: n/a
Default Re: flush command on AIX 4.3


could be anything. i.e written bespoke...



file /usr/local/bin/flush



if its a script.. then view it



if its a binary then



what /usr/local/bin/flush

strings /usr/local/bin/flush



it may have a help text



flush --help #(gnu format)

flush -h

flush -? #(aix format)



hope this helps

Mark


--
Posted via http://dbforums.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 07:56 PM
Jarosław Kolasiński
 
Posts: n/a
Default Re: flush command on AIX 4.3

Użytkownik "Mark Taylor" <member20596@dbforums.com> napisał w wiadomości
news:3290230.1061980067@dbforums.com...
>
> could be anything. i.e written bespoke...
>
>
>
> file /usr/local/bin/flush
>
>
>
> if its a script.. then view it
>
>
>
> if its a binary then
>
>
>
> what /usr/local/bin/flush
>
> strings /usr/local/bin/flush
>
>
>
> it may have a help text
>
>
>
> flush --help #(gnu format)
>
> flush -h
>
> flush -? #(aix format)
>
>
>
> hope this helps
>
> Mark
>
>
> --


it's a binary program
joke ? i tried that all
i think it may be a command that forces the cache to be flushed ? (man -k
flush)
any idea ?
regards

JK




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-04-2008, 07:56 PM
Nenad
 
Posts: n/a
Default Re: flush command on AIX 4.3

"Jarosław Kolasiński" <jaroslaw.kolasinski@pkobp.pl> wrote in message
news:bigf74$s6m$1@nemesis.news.tpi.pl...
> Hi
> I have program flush in /usr/local/bin and i don't know what is it
> maybe something like sync command ?
> please advice and thanks
>
>
> JK
>
>

Have you tried lslpp -w /usr/local/bin/flush
(Maybe it's part of some installation package)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-04-2008, 07:56 PM
Steve Nottingham
 
Posts: n/a
Default Re: flush command on AIX 4.3

"Jarosław Kolasiński" <jaroslaw.kolasinski@pkobp.pl> wrote in message news:<biiis4$sl4$1@atlantis.news.tpi.pl>...
> Użytkownik "Mark Taylor" <member20596@dbforums.com> napisał w wiadomości
> news:3290230.1061980067@dbforums.com...
>
> it's a binary program
> joke ? i tried that all
> i think it may be a command that forces the cache to be flushed ? (man -k
> flush)
> any idea ?


As Mark said, try 'flush -help' and see if there is any help text or
'strings flush'

You could try 'lslpp -w $(whence flush)' to see which fileset it
belongs to.

Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-04-2008, 07:57 PM
Mark Taylor
 
Posts: n/a
Default Re: flush command on AIX 4.3


if its a binary, then what is the output from



what /usr/local/bin/flush ?



or look at the Loader Symbol Table Information for clues



dump -T flush



You could even use the watch command or kernel trace it.... or if you
are running 5L use truss....



so many options.....



Mark


--
Posted via http://dbforums.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:37 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com