Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hp-search-mac(1) [debian man page]

HP-SEARCH-MAC(1)					User Contributed Perl Documentation					  HP-SEARCH-MAC(1)

NAME
hp-search-mac -- HP switch search tool. DESCRIPTION
HP-search-MAC is an util that can query HP switches for their connection table. It then allow you to search for a MAC address and tell you where it is physically connected (best match first). . The functionality is similar to traceroute but on Ethernet level and only for HP switches. USAGE
hp-search-mac [options] [MAC] [...] OPTIONS
hp-search-mac [options] mac [ [options] mac ] [...] options: --dl n Set debug level to n. --help Print this help. --hostname host[=>community] | -h host[=>community] Set a switch name to search. You can also set this in /etc/hp-search-mac.conf or ~/.hp-search-mac.conf. The hash to set is \%switches. Mac: You can use some different formats: ff:ff:ff:ff:ff:ff (hex) ff-ff-ff-ff-ff-ff (hex) 0.123.0.12.0.12.0 (dec) CONFIGURATION: \%switches: This is a normal perl hash of the form \%switches = ("host" => "community", ...); AUTHOR
Ola Lundqvist <ola@inguza.com> SEE ALSO
snmp-walk(1) snmp-get(1) hp-search-mac Mon Apr 7 21:21:44 CEST 2008 HP-SEARCH-MAC(1)

Check Out this Related Man Page

MAC_TEST(4)						   BSD Kernel Interfaces Manual 					       MAC_TEST(4)

NAME
mac_test -- MAC framework testing policy SYNOPSIS
To compile the testing policy into your kernel, place the following lines in your kernel configuration file: options MAC options MAC_TEST Alternately, to load the testing module at boot time, place the following line in your kernel configuration file: options MAC and in loader.conf(5): mac_test_load="YES" DESCRIPTION
The mac_test policy module implements a testing facility for the MAC framework. Among other things, mac_test will try to catch corrupt labels the system is attempting to destroy and drop to the debugger. Additionally, a set of statistics regarding the number of times various MAC framework entry points have been called is stored in the security.mac.test sysctl(8) tree. Label Format No labels are defined for mac_test. SEE ALSO
mac(4), mac_biba(4), mac_bsdextended(4), mac_ifoff(4), mac_lomac(4), mac_mls(4), mac_none(4), mac_partition(4), mac_portacl(4), mac_seeotheruids(4), mac(9) HISTORY
The mac_test policy module first appeared in FreeBSD 5.0 and was developed by the TrustedBSD Project. AUTHORS
This software was contributed to the FreeBSD Project by Network Associates Labs, the Security Research Division of Network Associates Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BUGS
See mac(9) concerning appropriateness for production use. The TrustedBSD MAC Framework is considered experimental in FreeBSD. While the MAC Framework design is intended to support the containment of the root user, not all attack channels are currently protected by entry point checks. As such, MAC Framework policies should not be relied on, in isolation, to protect against a malicious privileged user. BSD
December 1, 2002 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mac OS X

I'm new to unix , I am a Technical Support Engineer in Macintosh Platform . We have here a new OS which is a unix based the Mac OS X, could you pls tell me what book should i buy so i could used the feature of our new OS. And what other programs should I install ? (10 Replies)
Discussion started by: carljo
10 Replies

2. OS X (Apple)

mac unix

Can anyone tell me were to download unix software for Mac OS X (10 Replies)
Discussion started by: ezadea
10 Replies

3. Programming

SCO get MAC Address

Does anyone know how to get the mac address of a SCO box using c. (11 Replies)
Discussion started by: jcarter2333
11 Replies

4. Shell Programming and Scripting

regular expression for MAC address validation

Hi there I am running a script which requires the input of a MAC address from the user and was loooking for a regex that will verify the user has inputted a full 12 digit valid MAC with colons Ive seen a few on some sites that look huge and was wondering if anybody had a one liner (or as... (21 Replies)
Discussion started by: hcclnoodles
21 Replies

5. Shell Programming and Scripting

search for a string -perl

Hi, I have a line where i need to get certain part of it.. example.. text txt tt: 1909 thats how exactly it looks and all spaces are to be counted.. i need to retrieve 1909.. Thanks (11 Replies)
Discussion started by: meghana
11 Replies

6. What is on Your Mind?

If possible, would you consider buying OS X for a non Mac computer?

Title says it all. I am doing a little research for a blog I want to write up on my website about different OS platforms. One thing that I am trying to figure out, is that would it appeal to people to load OS X on their PC, and would they be willing to pay for it? If so, would you even... (17 Replies)
Discussion started by: tlarkin
17 Replies

7. Windows & DOS: Issues & Discussions

Mac OS binary (ABIF) file to MS Windows

Hello, I have a problem with two file (In attach). These file contain the instruction for run an application platform for a lab machine. The fil without extension if of the application in MAC the file with .md5 extension is for the win software version. Now i need convert the win file to mac... (20 Replies)
Discussion started by: vinciovincio
20 Replies

8. Shell Programming and Scripting

Need help in Regular expression in bash shell

hi, I have written a script to search MAC address in a given directory. MAC address would be in format XX.XX.XX.XX. The digits contain hexadecimal numbers. For this i have used grep as follows. grep -rn '^\{1,2\}\.\{1,2\}\.\{1,2\}\.\{1,2\}\$' * This is not working as required.... (17 Replies)
Discussion started by: flamingo_l
17 Replies

9. UNIX for Dummies Questions & Answers

How to move a directory from thumb drive to mac?

I do some scripting during lunch on the macbookpro at work. I have the necessary folders on a thumb drive from my mac at home, and move them with the mv command to the mbpro so I don't have to change the script itself to access the necessary files on the thumb drive, and then change the code again... (13 Replies)
Discussion started by: Straitsfan
13 Replies

10. Shell Programming and Scripting

Checking for a valid MAC Address

I have a ksh script and would like to validate a MAC address that is input by the user: 00:14:4F:FC:00:49 example: MAC=`/usr/bin/ckint -p "Enter MAC address"` echo $MAC echo " " Obviously chkint will not work, but does anyone have any suggestions? Thanks (9 Replies)
Discussion started by: hxman
9 Replies

11. UNIX for Dummies Questions & Answers

gmake on Mac

I am using my teminal on Mac to run some files with gmake, (I used unix before,but now I am trying to run it frm my mac) and I get the error message: -bash: gmake: command not found Any idea what the problem might be? Thanks! (10 Replies)
Discussion started by: cosmologist
10 Replies

12. UNIX for Dummies Questions & Answers

Remote desktop for mac unix commands

So Ive been a bit confused dealing with ssh keys or something else, who knows maybe someone can help. I run a set of computers on a network which are all running mac os x lion. I have a lion server serving them all up. I run remote desktop to update them and do anything else "tech" support... (13 Replies)
Discussion started by: jcahn93
13 Replies

13. Shell Programming and Scripting

How to extract information a file according key id in another file?

hi, i have a large file containing the detailed information of a bunch of keys like this: JAT_0001 contig102_342_3_n2 contig102_342 atgcacgacta 30 50 20... (11 Replies)
Discussion started by: the_simpsons
11 Replies

14. Shell Programming and Scripting

Grep not working on mac

Hi all, I got a new mac and can't get grep, awk etc to work. I tried the following command: grep DICER test.txt output: AGOER text.txt looks like this: DICER DICER AGOWhat is wrong? Please use code tags (23 Replies)
Discussion started by: Palgrave
23 Replies

15. OS X (Apple)

Newbie needs to find file

I need to find a file using Applescript. Applescript is so slow. Someone on the Apple forums gave me some unix code and it works for the most part. The ls command is really list and not find but when it works, it returns the path to the file instantly, NOT 45 seconds Applescript takes. here is... (11 Replies)
Discussion started by: sbrady
11 Replies