Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 06:58 AM
03-04-2004 06:58 AM
Script
This script kill more than one connection from the users and now the conecctions are queued.
Why?
Elizangela
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 07:02 AM
03-04-2004 07:02 AM
Re: Script
I can't say why without a bit more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 07:13 AM
03-04-2004 07:13 AM
Re: Script
Patches: Quality Pack and HW Enable
The script:
echo "Entre com a Opcao Desejada : \c"
read opcao
if [ $opcao -eq 5 2>/dev/null ]
then
cls
kill -9 0;
elif
[ $opcao -eq 2 2>/dev/null ]
then
cd /oracle/systur;
runmenu50 -c ansiu:utd $LOGNAME/demo GER_1210
elif
[ $opcao -eq 4 2>/dev/null ]
then
cd /oracle/systur;
runmenu50 -c ansiu:utd $LOGNAME/demo GER_1600
elif
[ $opcao -eq 1 2>/dev/null ]
then
cd /oracle/systur;
runmenu50 -c ansiu:utd $LOGNAME/demo GER_1200
elif
[ $opcao -eq 3 2>/dev/null ]
then
cd /oracle/systur;
runmenu50 -c ansiu:utd $LOGNAME/demo GER_1220
fi
if [ a$opcao = a ]
then
cls
fi
done
The users connect by telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 07:16 AM
03-04-2004 07:16 AM
Re: Script
Kill -9 0 ??????? Swapper ??????? My Spanish isn't all that great, but I find it hard to imagine a circumstance where you would want to kill off swapper.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 07:30 AM
03-04-2004 07:30 AM
Re: Script
so the script probably speaks Portugese.
Maybe they have a different Proc mapping overthere, or she is kidding?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 09:32 PM
03-04-2004 09:32 PM
Re: Script
= 0 All processes, except special system processes, whose process group ID is equal to the process group ID of the sender.
So Elizangela, it could means that:
the shell ( posix or ksh ?) changed the way it set the process group
So you should check the process group of you connections process to see if they should ne killed or not
To check that just do a
UNIX95= ps -j
just before the kill.
you can also try to test
set +m or set -m at the begining of the script
you can try to see if you are using posix shell, if the behaviour is the same with ksh.( and reverse)
set +m change the behaviour of how a shell manage its child, and if it run then in the same process group or an other.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 10:31 PM
03-04-2004 10:31 PM
Re: Script
I'm not sure if you haven't shown us the whole script, but there should be a shell definition at the very top. ie #!/bin/sh
regards,
Darren.