03-22-2015
Are those spaces or tabs?
Some syslog implementations require the use of tabs.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to log-in to a remote server using shell script.
The server requires the following while allowing a connection:
username
password
one - letter authorisation.
How can i implement this in my script?
thanks,
abey (6 Replies)
Discussion started by: abey
6 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Well I've had a bit more experience with Unix-like environments since my last post, now that I have started working on my website in earnest and am doing much of the file manipulation via the command line through SSH.
The thing is, I want to be able to log all console activity,... (4 Replies)
Discussion started by: patwa
4 Replies
3. Solaris
Hi,
I have Sun One Application server installed on 2 Solaris servers. Currently I am getting their logs in relative server. I am using log4j for logging. Now I want to change this. I want such that I should get both S1AS's log on third server with log4j. How can I do that ?
I got one idea... (0 Replies)
Discussion started by: neel.gurjar
0 Replies
4. HP-UX
Hi,
I wonder if anyone is able to assist me.
I have a HP UX server and some HP UX workstations that has been migrated from another network. I have changed the IP Addresses and everything seems to be working fine.
However, the users are complaining that they are unable to login to the UX... (1 Reply)
Discussion started by: michaelgim
1 Replies
5. BSD
Hi,
The output of the cat ttys on a free BSD m/c
console none unknown off secure
#
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" unknown on secure
ttyd1 "/usr/libexec/getty std.9600" dialup off
ttyd2... (0 Replies)
Discussion started by: mlalitha
0 Replies
6. Shell Programming and Scripting
Hello everybody,
I have one small issue... :(
When i'm trying to connect another unix box through below script..
#!/usr/bin/bash
ssh $1 <<EOF
Commands
.
.
exit
EOF
But getting some syntax error "-sh: syntax error at line 2: `end of file' unexpected". I used to use... (2 Replies)
Discussion started by: raghu.iv85
2 Replies
7. Shell Programming and Scripting
My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
Discussion started by: sanoop
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
my question is probably quite easy. On one linux machine I have messages being constantly being written to /var/log/messages. An ntpd message comes in every few seconds. I can see new ones with tail messages. On the other machine there seems to be no messages arriving in /var/log/messages.... (3 Replies)
Discussion started by: jackiebaron
3 Replies
9. Solaris
Dear all,
i have two users user1 and user2 i want force user1 to login first by user2 and then su - user1
i want to prevent logging user1 from console directly (5 Replies)
Discussion started by: maxim42
5 Replies
10. UNIX and Linux Applications
i am new to scripting ,i need bash script in jump server to pull the /etc/passwd of all servers and the ssh keys are installed (3 Replies)
Discussion started by: profiles
3 Replies
LEARN ABOUT CENTOS
xmtablistinserttabs
XmTabListInsertTabs(library call) XmTabListInsertTabs(library call)
NAME
XmTabListInsertTabs -- A convenience function that inserts tabs into a tab list
SYNOPSIS
#include <Xm/Xm.h>
XmTabList XmTabListInsertTabs(
XmTabList oldlist,
XmTab *tabs,
Cardinal tab_count,
int position);
DESCRIPTION
XmTabListInsertTabs creates a new tab list that includes the tabs in oldlist. This function copies specified tabs to the tab list at the
given position. The first tab_count tabs of the tabs array are added to the tab list. If oldlist is NULL, XmTabListInsertTabs creates a new
tab list containing only the tabs specified.
oldlist Specifies the tab list to add the tabs to. The function deallocates oldlist after extracting the required information.
tabs Specifies a pointer to the tabs to be added to the tab list. It is the caller's responsibility to free the tabs in tabs by using
XmTabFree.
tab_count Specifies the number of tabs in tabs.
position Specifies the position of the first new tab in the tab list. A value of 0 (zero) makes the first new tab the first tab in the tab
list, a value of 1 makes it the second tab, and so on. If position is greater than the number of tabs in oldlist, then the tabs
will be inserted at the end. If position is negative, the count will be backwards from the end. A value of -1 makes the first new
tab the last tab, and so on.
RETURN
If tabs is NULL or tab_count is 0 (zero), this function returns oldlist. Otherwise, it returns a new tab list. The function allocates
space to hold the returned tab list. The application is responsible for managing the allocated space. The application can recover the
allocated space by calling XmTabListFree.
RELATED
XmTabList(3) and XmTabListFree(3).
XmTabListInsertTabs(library call)