LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 04-28-2011, 11:14 AM   #1
lcxpics
LQ Newbie
 
Registered: Apr 2011
Posts: 8

Rep: Reputation: 0
Question Question: OpenBSD command line for checking list of library used by daemon


Hi All,

I would like to ask what is the command line on OpenBSD which able to be used to check the list of library which used by specific daemon?

For example, I would like to check what are the libraries which are used by ftpd.

Thank you in advance.

Regards,
Stefan
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-28-2011, 12:04 PM   #2
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
man ldd

example:

Code:
$ ldd /usr/sbin/httpd 
/usr/sbin/httpd:
        Start            End              Type Open Ref GrpRef Name
        0000000000400000 00000000008ac000 exe  1    0   0      /usr/sbin/httpd
        000000020b1c1000 000000020b5de000 rlib 0    1   0      /usr/lib/libm.so.5.2
        0000000208bae000 0000000209009000 rlib 0    1   0      /usr/lib/libssl.so.16.0
        000000020758e000 0000000207b2a000 rlib 0    1   0      /usr/lib/libcrypto.so.19.0
        000000020ac0f000 000000020b0f1000 rlib 0    1   0      /usr/lib/libc.so.58.1
        000000020a800000 000000020a800000 rtld 0    1   0      /usr/libexec/ld.so

Last edited by rocket357; 04-28-2011 at 12:09 PM.
 
2 members found this post helpful.
Old 04-28-2011, 08:21 PM   #3
lcxpics
LQ Newbie
 
Registered: Apr 2011
Posts: 8

Original Poster
Rep: Reputation: 0
Smile Thanks

Hi rocket357,

Thanks for your reply.

Stefan
 
Old 04-28-2011, 10:04 PM   #4
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
No problem =)

Glad I could help.
 
1 members found this post helpful.
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to go to the command line in OpenBSD intermentals *BSD 1 01-28-2010 10:58 AM
signalling a multi-threaded daemon from the command line aryan1 Linux - General 4 09-01-2009 06:57 AM
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Send a message via command line without sendmail daemon. sonenberk Linux - Software 1 11-22-2005 01:31 AM
checking memory usage from command line wrepti Linux - General 2 06-16-2004 10:24 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration