How would you convert the following awk command to sed, i can't seem to figure it out.
edquota -p bob `awk -F: '$3 > 499 {print $1}' /etc/passwd`
thansk P.
Hi, 1st off thanks for looking at this issue.
I have two databases that have the same structure and I want to be able to merge the databases together however im getting a duplicate key error.
I'm trying, insert into squirrelmail_merged.address select * from squirrelmail.address; but im getting...
I have a GRE tunnel that im clearing the DF bit between two routers. No matter what i do its doesn't seem to be working when i test it.
I'm testing it by sending ICMP echo packets greater than 1500 with the DF bit set to 1, hoping that when the packet hits the physical outgoing interface it...
Hi i have a cisco 6500 what im doing qos on. I have an 1 gig upstream interface that i have applied a policy-map to. this map seems to be working fine however when i look at the class-default class map the 5 min offered rate is very low even while the interface is using 75 megs of traffic.
How...
Hi I have a fiber mux that converts the signal into DS3 which is terminated on a cisco 6513, IOS 12.2(18)SXF14, WS-X6582-2PA module.
From the Mux to the Cisco its about 10 feet, I have no control of the mux fyi. Out of this Mux I have 3 DS3, two of them have a lot more C-bit/P-bit errors...
Hi recently I had an issue with two flexwan cards on a cisco 6509 reporting memory issues at the exact same time. On the 6509's log I notice some memory allocation messages related to the flexwan on ports 8/1 and 9/1, it complaints that it can't allocate memory and then disables Dcef.
The log...
Hi i have a 6500 terminating frame-relay. Recently we consolidated some T1 frame circuits from one T3 to another. While moving these circuits to the new interface on the new T3, we made sure to configure the new interface excatly like the old interface and nothing changed with the CPE on the...
Hi, i have the following in a php script that is currently working, HOWEVER...
'default' => array('query_set' => 'REPLACE INTO vacation (email, subject, body, domain, created, active) VALUES (\U, \S, \M, \D, NOW(), 1)',
'query_unset' => 'UPDATE vacation SET...
Hi, I have a mysql query that I need help on and hoping someone can give me a hand with this.
currently I have a query that works and the query is:
password_query = SELECT username as user, password, if('%d' IN ('domain1.com', 'domain2.com'), 'quota imap_quota acl imap_acl',null) as...
Hi i have a query below that checks if the variable %d equals the domain virttest1.xxxxxxx.net and works just fine however i can't seem to figure out how to check to see if %d equals virttest1.xxxxxxx.net OR virttest2.xxxxxxx.net OR virttest3.xxxxxxx.net etc and then is if does carry on by...
I hoping someone can give me some advise. I have a customer who is doing MLPPP on a cisco 1700 this terminates on a cisco 7200 on a CT3 single wide port card doing distributed multilink. The customer was complaining of "sluggish" performance and when i checked the routers for traffic utilization...
Hi i have a file that consists of virtual domain email aliases. I need to have entries in this file be formatted like:
user1@virtualdomain.com <single tab> localuser<@appended_domain.com>
the problem is the current file consists or multiple tabs between the virtauldomain part and the localuser...
hi i have a question regarding the random drop counter and drop probability on a T3 interface that is terminating T1s.
I have fair-queue enabled on the interface ser10/0/0/1:1 and random detect, this interface is also being rate-limited to 768K in/out.
This interface has extremely brusty...
Hi, i have 3 equal cost load balanced links between two 6509 ciscos, one link is wired and the other 2 links are wireless.
I want to put all my voip traffic on the wired link. Is there a way to have ospf announce a lower metric for a subnet (default 20) and have that subnet be routed through...
hi, i read on cisco's site that the default cos mapping for this receive queue is cos 5 mapped to queue 2, but when i do a show queuing im not seeing that mapping on the receive queue. when i try to map cos 5 to receive queue 2, i only have an option for queue id 1. anyone know what the issue...
Hi i just have a quick question which im not too sure about, i have a fast ethernet doing cbwfq that has 5000kb of available bandwidth. does this mean the my queues will share this bandwidth? as im only using 70% of the total bandwidth leaving me 5000kd as available.
Policy Map queueing_policy...
hi im looking for a way to have vim execute a command when :wq is used on a filename that is *.db.
im looking to have named-checkzone executed when someone edits a zone file.
tried a few things on /etc/vmrc
autocmd VimLeave *.c /root/test.sh
but nothing.
thanks, Paul
We have an Ethernet ring with 6 cisco 3500 switches. “Spanning tree 1 is executing the IEEE compatible Spanning Tree protocol”
The root switch of this ring is connected to a cisco 6500. The cisco 6500 is not participating in this spanning tree ring. I simply have a routed interface from the 6500...
Hi, hoping someone has some suggestions.
I ran into an issue where I have a ring of 4 HP2512 and 1 HP2524 switches. These switches all connect back to a Cisco 6509.
IOS (tm) s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(18)S
XF14, RELEASE SOFTWARE (fc1)
The cisco 6509 is...
Hi i have a mysql DB server that is running without any issues. From time to time i see the following errors on the frontend server.
java.sql.SQLException: Timeout trying to reserve a DB connection.
any ideas what could cause this?
I dont seem to have any network connection issues between the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.