09-18-2008
Problem in opening UNIX file in Windows
Hi ,
I am having file in unix with size (386796649) , below is the output of ls command in UNIX.
I have ftp'ed the file to my windows machine . When i tried to open the file it is not
opening . Why it is so . Is there is size limit.
-rw-rw-rw- 1 p10 pQQ 98473 Sep 17 17:20 427.ret
-rw-rw-rw- 1 p3 pQQ 606 Sep 17 17:29 485.ret
-rw-rw-rw- 1 p6 pQQ 386796649 Sep 17 18:26 411.ret ----> this is the file i cannot open
I have opened file more than (386796649) in my windows, why this file is not opening. Even the file
has any special character, in notepad /editplus it should open, but when i tried to do it is closing
indefinitely.
Thanks in advance,
Arun.
10 More Discussions You Might Find Interesting
1. Programming
Pls someone help me. This piece of code is giving me weird results.
ofstream outfile;
ofstream out;
char filename1;
char filename2;
memset(filename1,'\0',sizeof(filename1));
memset(filename2,'\0',sizeof(filename2));
strcpy(filename1,"Testing1.out");... (0 Replies)
Discussion started by: skannan
0 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I want to open an Excel file in Unix(ABC.xls) and copy one column of the file onto another text file (xyz.txt) .Please let me know if there is a way of going about to perform this operation.
Thanks in Advance,
bubeshj (5 Replies)
Discussion started by: bubeshj
5 Replies
3. UNIX for Dummies Questions & Answers
Hi folks,
I have a file in unix box as abc.xls and i have a file in windows box as abc_win.xls. Now if i open the file abc_win.xls which is in windows, i have to get the datas of the file abc.xls which is in unix. Everytime i opens the abc_win.xls file, the updated datas of file abc.xls... (6 Replies)
Discussion started by: a439511
6 Replies
4. Linux
Hey Friends,
When I open (More <filename>) a big txt file in UNIX /LINUX it asks me to press any key to see remaining file. Can I see it in a stretch? I mean I jst want to let the contains of file scroll up completely. Is there any way out?
Plz help.
Thanx in advance
Anushree. (2 Replies)
Discussion started by: anushree.a
2 Replies
5. Windows & DOS: Issues & Discussions
I'm trying to open multiple IE windows and enter the same text and press <enter> on each. Here's an example with what I have so far.
REM Open
@echo on
start http://10.1.1.1
ping 1.1.1.1 -n 5 -w 1000 >nul
@echo password
start http://10.1.1.2
ping 1.1.1.1 -n 5 -w 1000 >nul
@echo password... (2 Replies)
Discussion started by: Pitt
2 Replies
6. Programming
Hello All,
I am new to programming in unix.
I am trying to create a file by using open command. The entire file is :
#include<fcntl.h>
main(void){
int fd;
fd = open("File1", O_CREAT|O_WRONLY, S_IRUSR|S_IWUSR|S_IRWXO);
printf("%d ", fd);
}
The problem I am facing a strange problem.... (2 Replies)
Discussion started by: vkn_1985
2 Replies
7. UNIX for Dummies Questions & Answers
Hi. I'm new to Unix and recently received Unix files via email. I downloaded those files but am unable to open them on my computer which uses Mac OS X. How do I open the files? (11 Replies)
Discussion started by: michellemc
11 Replies
8. Shell Programming and Scripting
Hello All,
Here is my silly question on grep..
Here is my code..
DAY=$(date --date="yesterday" +%y.%m.%d)
check "grep -h ' 404 ' /home/sathya/SystemOut.log /home/sathya/SystemOut_${DAY}*.log "
Where check is alias which makes to run this command in all my Servers.
When I execute... (3 Replies)
Discussion started by: sathyaonnuix
3 Replies
9. Shell Programming and Scripting
Dear All,
this is my first post on this Forum, glad to be here.
I'm trying to fix an .ods file. Yes, I had a backup, but it's also corrupted.
When opening the document I get this EM:
read error
format error discovered in the file in sub-document content.xml at
2,337040(row,col).
So I... (3 Replies)
Discussion started by: jameslast
3 Replies
10. Shell Programming and Scripting
I am zipping a file in unix and then sending it to windows.
buyt when i try to open it with 7zip software. it throws an error FILE IS BROKEN (3 Replies)
Discussion started by: rafa_fed2
3 Replies
LEARN ABOUT CENTOS
papi_set_granularity
PAPI_set_granularity(3) PAPI PAPI_set_granularity(3)
NAME
PAPI_set_granularity -
Set the default counting granularity for eventsets bound to the cpu component.
SYNOPSIS
Detailed Description
@par C Prototype:
int PAPI_set_granularity( int granularity );
@param -- granularity one of the following constants as defined in the papi.h header file
@arg PAPI_GRN_THR -- Count each individual thread
@arg PAPI_GRN_PROC -- Count each individual process
@arg PAPI_GRN_PROCG -- Count each individual process group
@arg PAPI_GRN_SYS -- Count the current CPU
@arg PAPI_GRN_SYS_CPU -- Count all CPUs individually
@arg PAPI_GRN_MIN -- The finest available granularity
@arg PAPI_GRN_MAX -- The coarsest available granularity
Return values:
PAPI_OK
PAPI_EINVAL One or more of the arguments is invalid.
PAPI_set_granularity sets the default counting granularity for all new event sets created by PAPI_create_eventset. This call implicitly
sets the granularity for the cpu component (component 0) and is included to preserve backward compatibility.
Example:
int ret;
// Initialize the library
ret = PAPI_library_init(PAPI_VER_CURRENT);
if (ret > 0 && ret != PAPI_VER_CURRENT) {
fprintf(stderr,"PAPI library version mismatch!0);
exit(1);
}
if (ret < 0) handle_error(ret);
// Set the default granularity for the cpu component
ret = PAPI_set_granularity(PAPI_GRN_PROC);
if (ret != PAPI_OK) handle_error(ret);
ret = PAPI_create_eventset(&EventSet);
if (ret != PAPI_OK) handle_error(ret);
*
See Also:
PAPI_set_cmp_granularity PAPI_set_domain PAPI_set_opt PAPI_get_opt
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_set_granularity(3)