Since you guys have given valid crticism of AudioScope.sh it has made me look more deeply into posix compliance, so......
I typed this directly into ShellCheck and got the bizarre results below.
It means I have to check absolutelty everything from variable constructs to printing to 'STDOUT'.
It looks like ShellCheck successfully finds any variables that seem unused; however...
Ignore the printf STDOUT printing _errors_ that could be produced as I am now fully aware of those...
I have made a rod for my own back here...
One of my Solaris 8 machines hd was about to die. So I used g4u to create an image of the 9gb drive and I put it in a 36gb drive. That solved my dieing hd problem.
But....
How do I get my machine to see the unused 27gb of space?
Any help would be greatly appreciated. (1 Reply)
Hi,
How do I query for unused partition in AIX 4.3 with DAS and SAA storage?
I know most unix administrator don't put all the capacity on the system at once.
thanks,
vene (1 Reply)
Hello,
I have a system with HP-UX 11.23 installed on it. There are ~36GB of unused space on the HDD. I did a very basic installation, and it created the usual volume group /dev/vg00. When I look at the output of ioscan -funC disk, I see this (and more, but irrelevant to this post):
disk ... (1 Reply)
i Have alloted 20G in my vmware for solaris 10, upon installation, and some distribution of disk space to /,/opt,swap i just use 19G.
Can i still use the 1G? How? how to see the 1G? that i did not use? how can i use it?
appreciate your responce (17 Replies)
Hi,
In our AIX 5.2 server , we have one unused ethernet adapter which doesn't have cable connection . For this interface , we are getting alerts in errpt .
Could you suggesthow to stop this alert ? And sametime i would like to keep this device in ODM .
Is there... (1 Reply)
Hello,
When creating shared memory in C, should be remove shared memory with shmctl function when don't need it. If it didn't remove, occupied shared memory stay and remain.
If we create shared memory repeatedly without removing unusable shared memory, /dev/shm will full.
Does Unix or... (1 Reply)
Dear all,
I have a new Oracle Blade X4-2B server, running Solaris 10.
The server comes with a HBA card that will not be used now. It has not fibers connected to it. As a consequence, its leds never stop flashing.
My question is: how to disable this HBA card, without removing it physically... (2 Replies)
Discussion started by: Gus1971
2 Replies
LEARN ABOUT CENTOS
test::vars
Test::Vars(3) User Contributed Perl Documentation Test::Vars(3)NAME
Test::Vars - Detects unused variables
VERSION
This document describes Test::Vars version 0.005.
SYNOPSIS
use Test::Vars;
all_vars_ok(); # check libs in MANIFEST
DESCRIPTION
Test::Vars finds unused variables in order to keep the source code tidy.
INTERFACE
Exported
all_vars_ok(%args)
Tests libraries in your distribution with %args.
libraries are collected from the MANIFEST file.
If you want to ignore variables, for example $foo, you can tell it to the test routines:
"ignore_vars => { '$foo' => 1 }"
"ignore_vars => [qw($foo)]"
"ignore_if => sub{ $_ eq '$foo' }"
Note that $self will be ignored by default unless you pass explicitly "{ '$self' => 0 }" to "ignore_vars".
vars_ok($lib, %args)
Tests $lib with %args.
See "all_vars_ok".
MECHANISM
"Test::Vars" is similar to a part of "Test::Perl::Critic",but the mechanism is different.
While "Perl::Critic", the backend of "Test::Perl::Critic", scans the source code as texts, this modules scans the compiled opcode (or AST:
abstract syntax tree) using the "B" module. See also "B" and its submodules.
CONFIGURATION
"TEST_VERBOSE = 1 | 2 " shows the way this module works.
CAVEATS
https://rt.cpan.org/Ticket/Display.html?id=60018
https://rt.cpan.org/Ticket/Display.html?id=82411
DEPENDENCIES
Perl 5.10.0 or later.
BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to
cpan-RT.
SEE ALSO
Perl::Critic
warnings::unused
B
Test::Builder::Module
AUTHOR
Goro Fuji (gfx) <gfuji(at)cpan.org>
LICENSE AND COPYRIGHT
Copyright (c) 2010, Goro Fuji (gfx). All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic for details.
perl v5.16.3 2014-06-10 Test::Vars(3)