02-23-2011
Basic System Info Template
If your boss ask you to create a template for all UNIX systems. Max 10 questions of the system. What would you put down?
The system can be any UNIX flavor.
Some examples:
1. system name
2. OS
3. ETC
What would be for you the most important and relevants.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am attempting to set-up a Makefile to use for a new system on a Sun Unix machine.
I am new to creating Makefiles. I am trying to start simply by compiling a program. I am getting the following error message but an uncertain what 'Error Code 1' is. Is there a web site with Error Codes... (1 Reply)
Discussion started by: CaptainRo
1 Replies
2. UNIX for Dummies Questions & Answers
I'm so new to sys admin work that my ears haven't dried yet.
Here's my question:
what scripts are available to gather pkginfo, prtdiag, and volume info?
I need to gather this type of info from 18 servers of various types:
oracle db servers, license servers, nis masters and slaves, etc.... (2 Replies)
Discussion started by: antalexi
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
how do i look at the basic server info through terminal on mac. I have the username and password for a web server and i am assigned to add a new url to the web server, but i have no idea where to start. how do i check what kind of server it is? how do i get the DNS information? most... (0 Replies)
Discussion started by: mj330
0 Replies
4. Programming
Does anyone know graceful way to get information about system?
Information I am interested in is:
Total size of physical memory.
Total and free size of swap.
Number of processors, their types and frequency.
Mount point of file system for known directory.
Is there a good way to get such... (4 Replies)
Discussion started by: kandrewo
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
We have an FTP server (vsftpd) running on Linux, that I've kinda built a "Data Management" system around. I could use some ideas as to the best way to handle/create "triggers" for file notifications.
Internal users drag 'n drop files from their Windows boxes to the server via Samba... (2 Replies)
Discussion started by: mph
2 Replies
6. Solaris
Hi
I would like to be able to take adhoc backups of my
systems using flash archive - flarcreate - and then
restore from them to the same system without having
to enter the basic configuration again when I boot
from the Solaris CD.
So, I'd like to be able to create a flar archive ... (1 Reply)
Discussion started by: emjs
1 Replies
7. Programming
So, I'm actually new to programming, and thought some basics would be really benefiting to me, I'm not really asking to be spoon-fed with everything you know, I just need some info to show where should i start, I can figure the rest by myself, but really am in doubt about which programming language... (3 Replies)
Discussion started by: MEdgeworth
3 Replies
8. Windows & DOS: Issues & Discussions
This is a script in visual basic that basically sends an email from an existing account, in this case the example is provided for live.com. It uses CDO (Collaboration Data Objects).
All you need to do is replace the fields with the proper information.
The email is send from Command Prompt... (0 Replies)
Discussion started by: Tribe
0 Replies
9. Shell Programming and Scripting
Hi,
I have a .csv file that contains a variety of fields for 60 clients: USERNAME, PASSWORD, and COMMENTS. I have a template file which contains a great deal of data for each client and has the fields USERNAME, PASSWORD, and COMMENTS that has to be filled with the values of USERNAME,... (1 Reply)
Discussion started by: mojoman
1 Replies
LEARN ABOUT SUSE
template::stash::xs
Template::Stash::XS(3) User Contributed Perl Documentation Template::Stash::XS(3)
NAME
Template::Stash::XS - High-speed variable stash written in C
SYNOPSIS
use Template;
use Template::Stash::XS;
my $stash = Template::Stash::XS->new(\%vars);
my $tt2 = Template->new({ STASH => $stash });
DESCRIPTION
The Template:Stash::XS module is an implementation of the Template::Stash written in C. The "XS" in the name refers to Perl's XS extension
system for interfacing Perl to C code. It works just like the regular Perl implementation of Template::Stash but runs about twice as fast.
The easiest way to use the XS stash is to configure the Template Toolkit to use it by default. You can do this at installation time (when
you run "perl Makefile.PL") by answering 'y' to the questions:
Do you want to build the XS Stash module? y
Do you want to use the XS Stash by default? y
See the INSTALL file distributed with the Template Toolkit for further details on installation.
If you don't elect to use the XS stash by default then you should use the "STASH" configuration item when you create a new Template object.
This should reference an XS stash object that you have created manually.
use Template;
use Template::Stash::XS;
my $stash = Template::Stash::XS->new(\%vars);
my $tt2 = Template->new({ STASH => $stash });
Alternately, you can set the $Template::Config::STASH package variable like so:
use Template;
use Template::Config;
$Template::Config::STASH = 'Template::Stash::XS';
my $tt2 = Template->new();
The XS stash will then be automatically used.
If you want to use the XS stash by default and don't want to re-install the Template Toolkit, then you can manually modify the
"Template/Config.pm" module near line 42 to read:
$STASH = 'Template::Stash::XS';
BUGS
Please report bugs to the Template Toolkit mailing list templates@template-toolkit.org
AUTHORS
Andy Wardley <abw@wardley.org> <http://wardley.org/>
Doug Steinwand <dsteinwand@citysearch.com>
COPYRIGHT
Copyright (C) 1996-2009 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Template::Stash
perl v5.12.1 2009-04-07 Template::Stash::XS(3)