---------- Post updated at 01:09 PM ---------- Previous update was at 01:07 PM ----------
within custom, select media images and enter the directory location of the VOL file.
I usually create a directory somewhere and give it a meaningful name and then copy the VOL file into it.
I need to automate the following process:
I have a list of ip address for printers in a file called iplist.txt, I need to take that list and run the command
snmpget -v 1 -c public ip address sysName.0
for each ip address to see if the printer is running snmp, I want to the create a file... (4 Replies)
hi everyone
i have a doubt about ".so" files.
what is the need of ".so" files.
why we use ".so" files.
where we can use ".so" files.
how can i create ".so" files.
can u tell me a good example please
thank you (6 Replies)
hi guys,
Unix dummy here.
I need help creating a script for class.
The assignment reads as follows:
create a script that will create a new schema in schema.txt, it must accept 7 arguments (the first being the name of the schema) the other 6 being the 6 field names. the schema has to be tested... (1 Reply)
I have created a pool named earthpool using zpool command. Later I created a file system named earth using zfs command. I changed the mountpoint of earth (file system) using
zfs set mountpoint=/earth earthpool/earth.
Where /earth is a directory created in root using mkdir.
Now, I have a... (8 Replies)
Hello...
First of all, as a new member, i found this forum very helpful and all the members have great knowledge.
I am trying to learn unix online, as i have to make a script to monitor a solaris machine performance.
I found UNIX not as hard as i thought but making scripts and printing it... (5 Replies)
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Hi All,
As I m very new for Unix, I need to check for a directory and move a file. If Directory is not found, The script should create a directory and move the file. Can any one help here. (7 Replies)
I am having trouble creating an array, I've tried everything google gives me but it won't work, and it seems as though it should. Using Ubunto 12.04 and bash.
#!/bin/bash
ARRAY=one two three
echo ${ARRAY}When I do this I receive the error
: two: not found
and
: Bad substitution
When I... (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here is what I am supposed to do, word for word from my assignment page:
1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies
LEARN ABOUT OSF1
get_info
get_info(9r)get_info(9r)NAME
get_info - General: Returns system-specific information
SYNOPSIS
#include <devdriver.h>
u_int get_info(
struct item_list *item_list );
ARGUMENTS
Specifies a linked list of information requests.
DESCRIPTION
The get_info routine returns system-specific data assigned to the hardware platform that the driver operates on. For example, a device
driver might request system-specific information for the following Alpha hardware platforms: DEC 3000 Model 300 AXP Workstation, DEC 3000
Model 500 AXP Workstation, and DEC 4000 Model 610 AXP System.
The get_info routine checks the function code that you pass in the function member of the item_list data structure. If the hardware plat-
form that the driver operates on supports the system item associated with this function code, get_info returns the system-specific data for
the system item in the output_data member of the item_list structure. For example, get_info returns the TURBOchannel clock speed in the
output_data member of the item_list structure if you specify the constant GET_TC_SPEED in the function member of the item_list structure.
The get_info routine then performs the identical checks for the rest of the item_list structures in the linked list.
NOTES
The get_info routine is a generic interface that maps to a hardware platform-specific interface that actually returns the assigned CPU-spe-
cific data for the specified CPU. Using this routine to obtain CPU-specific information makes the driver more portable across different CPU
architectures and different CPU types within the same architecture.
RETURN VALUES
The return value from the get_info routine depends on the following issues: The hardware platform supports get_info
In this case, get_info returns the value TRUE. The hardware platform does not support get_info
In this case, get_info returns the value NOT_SUPPORTED.
If get_info returns the value TRUE, it returns one of the following values in the rtn_status member of the item_list data structure: Indi-
cates that the hardware platform that the driver currently operates on supports the requested system item. Indicates that the hardware
platform that the driver operates on does not support the requested system item.
SEE ALSO
Routines: do_config(9r), get_config(9r)
Data Structures: item_list(9s)get_info(9r)