This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@cybernet:/usr/local/src/old/Installer_P20_for_Linux/sas2flash_linux_i686_x86-64_rel# ./sas2flash -c 0 -list | |
LSI Corporation SAS2 Flash Utility | |
Version 20.00.00.00 (2014.09.18) | |
Copyright (c) 2008-2014 LSI Corporation. All rights reserved | |
Adapter Selected is a LSI SAS: SAS2008(B2) | |
Controller Number : 0 | |
Controller : SAS2008(B2) | |
PCI Address : 00:05:00:00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The way of the array.. This bitch is raw ready and raring to go. Mathethatically efficiency baby! | |
my @a = [ 0, #s, seconds (integer is multiplication factor of seconds over an average time period | |
60, #m, minutes | |
3600, #h, hours | |
43200, #d, days ( this one off) | |
13119200,#m, months (this one is slight off..) | |
157430400#y, years (this one off) | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
# Whitelists and administrators admin IP with various settings | |
use strict; | |
use Getopt::Long; | |
# Defaults (0 for unlimited) | |
my $def_softo = '24h'; # Removes the IP when it has last been seen n hours ago | |
my $def_hardto = '1y'; # Removes the IP when a specified time period has passed ignoring the soft timeout value (max age) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
capacity operations bandwidth | |
pool alloc free read write read write | |
------------------------ ----- ----- ----- ----- ----- ----- | |
sneakernet 507G 14.0T 0 453 0 55.1M | |
wwn-0x5000c50087411fae 254G 7.00T 0 228 0 27.7M | |
wwn-0x5000c50087414b80 254G 7.00T 0 225 0 27.4M | |
------------------------ ----- ----- ----- ----- ----- ----- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# bmc tool - a user friendly front-end to probe, configure, and manage the BMC | |
# | |
# Copyright (c) 2012 Dell Inc. All rights reserved. | |
# | |
# This tool is part of the PowerEdge C datacenter system management tools | |
# from http://poweredgec.com | |
# | |
# [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Device is a Hard disk | |
Enclosure # : 0 | |
Slot # : 0 | |
SAS Address : 5001e4f-2-136e-a685 | |
State : Ready (RDY) | |
Size (in MB)/(in sectors) : 953869/1953525167 | |
Manufacturer : ATA | |
Model Number : Hitachi HUA72101 | |
Firmware Revision : A74A | |
Serial No : GTA000PAGPN47A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@cybernet:~# sas2ircu 0 DISPLAY | |
LSI Corporation SAS2 IR Configuration Utility. | |
Version 16.00.00.00 (2013.03.01) | |
Copyright (c) 2009-2013 LSI Corporation. All rights reserved. | |
Read configuration has been initiated for controller 0 | |
------------------------------------------------------------------------ | |
Controller information | |
------------------------------------------------------------------------ | |
Controller type : SAS2008 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JBOD1:0 wwn-0x5000cca216c9b0d3 | |
JBOD1:1 wwn-0x5000cca216c9dcae | |
JBOD1:2 wwn-0x5000cca216c9dcbc | |
JBOD1:3 wwn-0x5000cca216c9d762 | |
JBOD1:4 wwn-0x5000cca216c9dcb1 | |
JBOD1:5 wwn-0x5000cca216c9d75c | |
JBOD1:6 wwn-0x5000cca216c9dca2 | |
JBOD1:7 wwn-0x5000cca216c9b56a | |
JBOD1:8 wwn-0x5000cca216c9dbf4 | |
JBOD1:9 wwn-0x5000cca216c9c2b1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# bmc tool - a user friendly front-end to probe, configure, and manage the BMC | |
# | |
# Copyright (c) 2012 Dell Inc. All rights reserved. | |
# | |
# This tool is part of the PowerEdge C datacenter system management tools | |
# from http://poweredgec.com | |
# | |
# [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use Mojo::Base -strict; | |
use Mojo::UserAgent; | |
use Data::Dumper; | |
my $ua = Mojo::UserAgent->new(max_redirects => 10); | |
my $url = 'http://www.supermicro.com/products/motherboard/Xeon/C600/X10SRi-F.cfm'; | |
my $dom = $ua->get($url)->res->dom; |
OlderNewer