Sponsored Content
Operating Systems Linux Red Hat General questions related to patching and servers Post 302933494 by Maddy123 on Friday 30th of January 2015 05:24:26 AM
Old 01-30-2015
General questions related to patching and servers

Hi,

Can you answer the following ?
  1. How to identify server is physical or virtual server ?
  2. Why often patching is done in servers ?What is the purpose of doing OS patching in servers. ?

Regards,
Maddy

Last edited by rbatte1; 02-04-2015 at 10:21 AM.. Reason: Added LIST=1 tags
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

General Unix Questions !!

1. How do we know what is my machine name and what is its IP address? (in Solaris) 2. If i want to know the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris) then what command i have to look. (5 Replies)
Discussion started by: dreams5617
5 Replies

2. UNIX for Dummies Questions & Answers

General Linux Questions

Hello :-) I am new to the world of UNIX/LINUX and I have just purchased my first Web Server. I have "root" access to the system and I have a few basic questions, they are: 1. How do you view all user names that have access to the system? 2. How do you add/delete or modify users? Anyone... (1 Reply)
Discussion started by: randy.moretz
1 Replies

3. UNIX for Dummies Questions & Answers

few new bie questions related to gdb , telnet

Hi All, 1. how to what is the current line we are executing. List command will display the 10 lines by default. 2. how to put a pointer to the current excuting line when executing the list. 2. if i have set one break point and i want to set 2nd break point do i need to delete the first break... (1 Reply)
Discussion started by: gauri
1 Replies

4. Solaris

Questions related to ndd commands

Hello Gurus I would like to know more about ndd commands related to ethernet(NIC) like how to set link_status, link_speed & link_mode as I know how to check these value. And I also would like to know how to make these setting permanents after reboot as I know that these setting will vanish... (5 Replies)
Discussion started by: amity
5 Replies

5. Solaris

Sparc or x86 - General questions

Hi all, Now Sun provides a large range of x86 servers and Solaris is running fine on both x86/sparc. For new projects mainly running Oracle DB on SAN, I am wondering which architecture is best for our new projets. As we won't go for high end servers (using around 4 or 8 Cpu's par host is... (6 Replies)
Discussion started by: manifesto
6 Replies

6. IP Networking

dhcpd-related questions

I have two items, only related because they are both regarding dhcpd. First of all, I keep seeing dhcpd responding to DHCPREQUESTs on eth1 which is my cable modem. For example: Sep 12 21:00:09 plague dhclient: DHCPREQUEST on eth1 to 204.186.xxx.xxx port 67 Sep 12 21:00:09 plague dhcpd:... (2 Replies)
Discussion started by: NESter
2 Replies

7. UNIX for Dummies Questions & Answers

General Terminology related to the UNIX System

Hello, I am relatively new to the world of programming in general and to the UNIX System in particular. I have a bunch of theoretical questions related to terminology which I have come across in my coursebooks. I hope I post my question at the right place. Any help would be warmly welcome! ... (1 Reply)
Discussion started by: feliks0
1 Replies

8. Red Hat

RHEL patching questions

Hi, We have RHEL 4, 5 and 6. What patching plan is supposed to be? How often do we need to patch these systems? Thank you in advance! I'll give you my Thanks for any helpful info! (9 Replies)
Discussion started by: aixlover
9 Replies

9. Solaris

Help me with Pre Installation Steps for Patching on Solaris Servers

What are the Pre-installation steps for patching on Solaris servers in real time ? :confused: (6 Replies)
Discussion started by: vijaykrishna
6 Replies
UPSCLI_LIST_START(3)						    NUT Manual						      UPSCLI_LIST_START(3)

NAME
upscli_list_start - begin multi-item retrieval from a UPS SYNOPSIS
#include <upsclient.h> int upscli_list_start(UPSCONN_t *ups, int numq, const char **query) DESCRIPTION
The upscli_list_start() function takes the pointer ups to a UPSCONN_t state structure, and the pointer query to an array of numq query elements. It builds a properly-formatted request from those elements and transmits it to upsd(8). Upon success, the caller must call upscli_list_next(3) to retrieve the elements of the list. Failure to retrieve the list will most likely result in the client getting out of sync with the server due to buffered data. USES
This function implements the "LIST" command in the protocol. As a result, you can use it to request many different things from the server. Some examples are: o LIST UPS o LIST VAR <ups> o LIST RW <ups> o LIST CMD <ups> o LIST ENUM <ups> <var> o LIST RANGE <ups> <var> QUERY FORMATTING
To see the list of variables on a UPS called su700, the protocol command would be LIST VAR su700. To start that list with this function, you would populate query and numq as follows: int numq; const char *query[2]; query[0] = "VAR"; query[1] = "su700"; numq = 2; All escaping of special characters and quoting of elements with spaces are handled for you inside this function. ERROR CHECKING
This function checks the response from upsd(8) against your query. If it is not starting a list, or is starting the wrong type of list, it will return an error code. When this happens, upscli_upserror(3) will return UPSCLI_ERR_PROTOCOL. RETURN VALUE
The upscli_list_start() function returns 0 on success, or -1 if an error occurs. SEE ALSO
upscli_fd(3), upscli_get(3), upscli_readline(3), upscli_sendline(3), upscli_ssl(3), upscli_strerror(3), upscli_upserror(3) Network UPS Tools 05/31/2012 UPSCLI_LIST_START(3)
All times are GMT -4. The time now is 10:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy