cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
johzha
Level 7
Report Inappropriate Content
Message 1 of 6

Why does McAfee command line scanner always display version info?

Jump to solution

I was using McAfee command line scanner V5.x. when I use command ./uvscan <file-name>. it does not print out version information.

Upgraded to McAfee command line scanner V6.x, version information always print out. the problem of this is that it take time (about 14 sec.) to display version informaiton.

I thought version information suppose to be displayed only when user specify --version option with the uvscan command (according to document). and this is true to V5.x

Is this a known issue for V6.x?

The version information I referred is something like this:

AV Engine version: 5400.1158 for Linux32.

Dat set version: 5978 created May 10 2010

Scanning for 617554 viruses, trojans and variants.

Thanks

on 29/07/10 12:19:14 CDT
1 Solution

Accepted Solutions
rackroyd
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 5 of 6

Re: Why does McAfee command line scanner always display version info?

Jump to solution

Thanks,

Please believe me, this really is about dat initialisation time and not the presentation of an on-screen summary. What you see is the effect and not the cause

For comparison, launch a local on-demand scan task with VirusScan 8.7i on a Windows machine. You will see a similar delay between the first appearance of the scan dialog and the scan actually starting. This is the same dat initialisation time. It is cross-product and cross-platform because the dats are too.

Hth,

Rob





Was my reply helpful?


If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

View solution in original post

5 Replies
Mal09
Level 12
Report Inappropriate Content
Message 2 of 6

Re: Why does McAfee command line scanner always display version info?

Jump to solution

It's not the displaying of version which takes 14 seconds, it's uncompressing the dat file in this time. you can speed up starting by running uvscan --decompress after you update the dat files.

https://kc.mcafee.com/corporate/index?page=content&id=KB68023

rackroyd
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 3 of 6

Re: Why does McAfee command line scanner always display version info?

Jump to solution

Mal09 is correct, it's the dat initialisation time not the version display.

Maybe it's OT and I haven't tried this in the 6.x version, but I guess you can still redirect everything for the scan to dev/null if you don't want to see what is on-screen .

It'll make no difference to scan times though !

Rgds,

Rob.





Was my reply helpful?


If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
johzha
Level 7
Report Inappropriate Content
Message 4 of 6

Re: Why does McAfee command line scanner always display version info?

Jump to solution

Thanks all.

Yes, --decompress does help. the time spend on uvscan dropped from 14s. to 3.8 sec.

However, it takes only 1.2 sec. if I use V5.x. following are some tests:

-- Test with McAfee V6.0:

time ./uvscan --noexpire readme.txt
McAfee VirusScan Command Line for Linux32 Version: 6.0.0.309
Copyright (C) 2009 McAfee, Inc.
(408) 988-3832 LICENSED COPY - April 30 2010

AV Engine version: 5400.1158 for Linux32.
Dat set version: 5985 created May 17 2010
Scanning for 619012 viruses, trojans and variants
.

Time: 00:00.00

3.868u 0.301s 0:06.03 68.9%     0+0k 0+0io 18pf+0w

-- Test with McAfee V5.3

time ./uvscan --noexpire readme.txt
1.220u 0.083s 0:01.33 97.7%     0+0k 0+0io 0pf+0w

I monitorred the out put and it seems most of time spend before print out following lines in above V6.0 output:

AV Engine version: 5400.1158 for Linux32.
Dat set version: 5985 created May 17 2010
Scanning for 619012 viruses, trojans and variants.

Therefore, I thought these version information took 2.657 sec. (3.868-1.211) for V6.0  as those information does NOT print with V5.3 engine.

but I hava no way to tell how much time spend without print version info. with V6.0 as printing version info. is not optional any more.

P.S. readme.txt in above it the file shipped with McAfee which is a very small file.

Thanks

Message was edited by: johzha on 30/07/10 09:21:15 CDT
rackroyd
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 5 of 6

Re: Why does McAfee command line scanner always display version info?

Jump to solution

Thanks,

Please believe me, this really is about dat initialisation time and not the presentation of an on-screen summary. What you see is the effect and not the cause

For comparison, launch a local on-demand scan task with VirusScan 8.7i on a Windows machine. You will see a similar delay between the first appearance of the scan dialog and the scan actually starting. This is the same dat initialisation time. It is cross-product and cross-platform because the dats are too.

Hth,

Rob





Was my reply helpful?


If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

View solution in original post

johzha
Level 7
Report Inappropriate Content
Message 6 of 6

Re: Why does McAfee command line scanner always display version info?

Jump to solution

OK I see. so, sounds like it actually cause by V2 DAT vs. V1 DAT

I was thinking it could be as simple as disable printing version information to gain performance.

Thanks Rob for clarification and looking forward McAfee improve V2 DAT initialisation performance.

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community