BDF (684 Views)
Reply
Advisor
expertone
Posts: 28
Registered: ‎03-11-2013
Message 1 of 16 (684 Views)

BDF

I am facing a minor issue , I dont know why ?? :)

 

when I am using BDF command i am getting the output, but when i am using  " bdf | more "

it is not being executed, also bdf is showing perfect output but my cursor is not coming to 

the " # " prompt. I always have to use  "CTRL + C " to cancel it.

 

Can anybody will tell me what this issue is ???? 

 

 

Regards 

Ashish prakash

Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 2 of 16 (682 Views)

Re: BDF

Let's continue here

http://h30499.www3.hp.com/t5/General/BDF-Command/m-p/6156707#M7277

this time.

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Valued Contributor
Ralf Seefeldt
Posts: 167
Registered: ‎04-02-2001
Message 3 of 16 (679 Views)

Re: BDF

Hi,
your bdf | more is in fact beeing executed. more is waiting to get some more input.

To immediately see the output, you could run:
bdf > /tmp/file &
tail -f /tmp/file

bye
Ralf
Advisor
expertone
Posts: 28
Registered: ‎03-11-2013
Message 4 of 16 (677 Views)

Re: BDF

:)

I am using putty.
Advisor
expertone
Posts: 28
Registered: ‎03-11-2013
Message 5 of 16 (676 Views)

Re: BDF

That is what i am waiting for that for what " more " is waiting for.

i can see the output from your commands also.. but why mine is not being executed, but on other servers it is perfect.
Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 6 of 16 (672 Views)

Re: BDF

[ Edited ]

You can get very, very strange results if you do a typo like this

# blabla > more

instead of

# blabla | more

so I would now check if "more" is still the original, e.g.

 



I have seen such before ...

# whence more

 

# file ...(insert the result here)

BTW, now you have 2 threads about the same question - confusing.


Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Advisor
expertone
Posts: 28
Registered: ‎03-11-2013
Message 7 of 16 (668 Views)

Re: BDF

#
#
#
# whence more
/usr/bin/more
#
#
#
#
# file /usr/bin/more
/usr/bin/more: ELF-32 executable object file - IA64
#
#


this the output


Thanks regards
ashish
Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 8 of 16 (664 Views)

Re: BDF

Looks good - I would try another command with more to see if this works or not. You may also try "man ...anything..." (e.g. man vgdisplay) to see if the sreen formatting works.

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Advisor
expertone
Posts: 28
Registered: ‎03-11-2013
Message 9 of 16 (661 Views)

Re: BDF

its workin fine.... when i use " man "command
Honored Contributor
Patrick Wallek
Posts: 13,774
Registered: ‎06-21-2000
Message 10 of 16 (659 Views)

Re: BDF

I think you problem is not 'more' but 'bdf'.  You said:

 

>>also bdf is showing perfect output but my cursor is not coming to the " # " 

 

So, if you run 'bdf' by itself you do not get the '#' prompt back, correct?  That indicates that 'bdf' is still trying to access a file system but can't.  Do you have any NFS mounts that it might be haning on?  What if you run 'bdf -l' to just look at local file system?  Does it come back normally then?

Advisor
expertone
Posts: 28
Registered: ‎03-11-2013
Message 11 of 16 (656 Views)

Re: BDF

Yes you get what my problem is.

the error what ia am get while using " bdf | more is as below
#
# bdf | more
bdf: /usb: Permission denied


and the output of " bdf -l is perfect. there is no hang type of situation.
Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 12 of 16 (654 Views)

Re: BDF

/usb ???

What did you mount?

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Advisor
expertone
Posts: 28
Registered: ‎03-11-2013
Message 13 of 16 (650 Views)

Re: BDF

??.. we have not mounted any thing over there
Honored Contributor
Patrick Wallek
Posts: 13,774
Registered: ‎06-21-2000
Message 14 of 16 (646 Views)

Re: BDF

You may need to check your /etc/mnttab file (it is a text file so you can cat it) and see what is listed there, and compare that to the 'bdf' output.  The discrepancy will point you to the problem file system.

 

I would just run 'bdf' without using 'more'.

 

Acclaimed Contributor
Dennis Handly
Posts: 25,067
Registered: ‎03-06-2006
Message 15 of 16 (636 Views)

Re: BDF (hang on NFS)

>and the output of " bdf -l is perfect. there is no hang type of situation.

 

Then you have a hung NFS mount.

HP Pro
Dave Olker
Posts: 1,427
Registered: ‎10-10-2002
Message 16 of 16 (634 Views)

Re: BDF (hang on NFS)

Can you post the output from the command "mount" so we can see what filesystems you have mounted?

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.