Version-Release number of selected component (if applicable): yum-2.1.11-3 How reproducible: everytime Steps to Reproduce: 1) run "yum badinput" in command line Actual results: There is a delay of about 30 seconds and yum command line help output. Expected results: It would be much better if the delay is low and the user is actually informed the input is invalid rather than silently ignoring it Additional info:
it has to read in the yum scripts and python modules in order to know that it is bad input. it takes 2s on my system. What are you running on? and the output of the usage dialog is a pretty common way of saying "thats not something we do, here is what we do"
Hi I suppose you are asking for system configuration cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 7 model name : AMD Duron(tm) processor stepping : 0 cpu MHz : 1102.446 cache size : 64 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 2162.68 #cat /proc/meminfo MemTotal: 118316 kB MemFree: 27132 kB Buffers: 7756 kB Cached: 57340 kB SwapCached: 9876 kB Active: 46600 kB Inactive: 32512 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 118316 kB LowFree: 27132 kB SwapTotal: 626452 kB SwapFree: 609160 kB Dirty: 0 kB Writeback: 0 kB Mapped: 22112 kB Slab: 9080 kB Committed_AS: 102920 kB PageTables: 964 kB VmallocTotal: 4014072 kB VmallocUsed: 1388 kB VmallocChunk: 4012492 kB HugePages_Total: 0 HugePages_Free: 0 Hugepagesize: 4096 kB it takes 22 seconds on my system. is that considered slow?. I agree that showing the command line is a way of saying that user input is wrong. I was hoping you would consider making it a explicit message and also showing the syntax as a improvement.
it's taking 30s to just run yum badinput? Are you swapping? So you want a "This is not a known command" message?
Hi Seth "it's taking 30s to just run yum badinput? Are you swapping?" Yes. It takes about 30 secs just to return a prompt #free total used free shared buffers cached Mem: 118316 110908 7408 0 57776 21052 -/+ buffers/cache: 32080 86236 Swap: 626452 17288 609164 if you need any further information about my system I am more than willing to provide those "So you want a "This is not a known command" message?" yes. something similar at the start followed by the syntax is what I am requesting.
I think you're swapping. It looks like you're system has 128M of ram. it's possible your system is swapping out just to load python + yum.